SessionFactory
A class that implements this interface can create new database sessions. This
exists so that the JDBC layer (the client) can be compiled without dependency
to the core database engine.
| Methods |
| void |
closeSession(int sessionId)
Close a session and release resources
|
| void |
closeSession(int sessionId) throws SQLException
Close a session and release resources
Parameters:
sessionId - The session id
|
| SessionInterface |
createSession(ConnectionInfo ci)
Create a new session.
|
| SessionInterface |
createSession(ConnectionInfo ci) throws SQLException
Create a new session.
Parameters:
ci - the connection parameters
Returns:
the new session
|