|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.HSQLUtil
public final class HSQLUtil
Utilities for using the Hypersonic SQL (HSQL) engine. Encog uses this SQL database for in-memory spidering, as well as unit testing.
| Field Summary | |
|---|---|
static java.lang.String |
DIALECT
The dialect to use for the memory database. |
static java.lang.String |
DRIVER
The driver to use for the memory database. |
static java.lang.String |
PWD
The password to use for the memory database. |
static java.lang.String |
UID
The user id to use for the memory database. |
static java.lang.String |
URL
The URL to use for the memory database. |
| Method Summary | |
|---|---|
static java.sql.Connection |
getConnection()
|
static ORMSession |
getSession()
|
static SessionManager |
getSessionManager()
|
static void |
loadDriver()
Load the driver for the memory database. |
static void |
shutdown()
Shutdown the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DRIVER
public static final java.lang.String URL
public static final java.lang.String UID
public static final java.lang.String PWD
public static final java.lang.String DIALECT
| Method Detail |
|---|
public static java.sql.Connection getConnection()
throws java.sql.SQLException
java.sql.SQLException - An SQL error.public static ORMSession getSession()
public static SessionManager getSessionManager()
public static void loadDriver()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException
java.lang.InstantiationException - Database error.
java.lang.IllegalAccessException - Database error.
java.lang.ClassNotFoundException - Database error.public static void shutdown()
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||