public interface SessionFactory
| Modifier and Type | Method and Description |
|---|---|
void |
closeSession(int sessionId)
Close a session and release resources
|
SessionInterface |
createSession(ConnectionInfo ci)
Create a new session.
|
SessionInterface createSession(ConnectionInfo ci) throws java.sql.SQLException
ci - the connection parametersjava.sql.SQLExceptionvoid closeSession(int sessionId)
throws java.sql.SQLException
sessionId - The session idjava.sql.SQLException