Engine
The engine contains a map of all open databases.
It is also responsible for opening and creating new databases.
This is a singleton class.
| Methods |
| static Engine |
getInstance()
|
| static Engine |
getInstance()
|
| void |
close(String name)
Called after a database has been closed, to remove the object from the
list of open databases.
|
| void |
close(String name)
Called after a database has been closed, to remove the object from the
list of open databases.
Parameters:
name - the database name
|
| void |
closeSession(int sessionId)
|
| void |
closeSession(int sessionId) throws SQLException
|
| Session |
createSession(ConnectionInfo ci)
Open a database connection with the given connection information.
|
| Session |
createSession(ConnectionInfo ci)
Open a database connection with the given connection information.
Parameters:
ci - the connection information
Returns:
the session
|