|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionManager
Connection pool interface. Pool is created once for each connected user.
Method Summary | |
---|---|
java.sql.Connection |
allocConnection(boolean simpleTransaction)
Connection allocation. |
void |
close()
Closing all connections and releasing all resources. |
void |
releaseConnection(java.sql.Connection conn)
Connection release. |
Method Detail |
---|
java.sql.Connection allocConnection(boolean simpleTransaction) throws java.sql.SQLException
simpleTransaction
- true if connection is allocated for simple transaction. Can be used
to prevent deadlocks between transactions.
java.sql.SQLException
void releaseConnection(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
void close() throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |