|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.siebel.rf.offline.branch.datastore.ConnectionPool
The ConnectionPool class
Method Summary | |
void |
commit()
Commits connection instance |
void |
commitAndReleaseConnection()
Commits and release connection instance |
java.sql.Connection |
getConnection()
Checks if the Connection is null then assign next available Connection to it and returns Connection instance |
static ConnectionPool |
getInstance()
Returns connectionPool |
java.sql.Connection |
getNewConnection()
Gets the Connection instance ,setAutoCommit to false and returns new Connection instance |
void |
rollbackAndReleaseConnection()
Rollbacks and release connection instance |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ConnectionPool getInstance()
public java.sql.Connection getNewConnection()
public java.sql.Connection getConnection()
public void commit() throws java.sql.SQLException
java.sql.SQLException
- public void commitAndReleaseConnection() throws java.sql.SQLException
java.sql.SQLException
- public void rollbackAndReleaseConnection() throws java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |