|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionManager
A ConnectionManager implementation determine how to get or release connection from DataSource or ThreadLocal or from Spring or JTA or some container...
| Method Summary | |
|---|---|
Connection |
getConnection(DataSource dataSource)
A ConnectionManager implementation determine how to get connection from DataSource or ThreadLocal or from Spring or JTA or some container... |
boolean |
isInTransaction(DataSource dataSource)
Check if a connection already be get from given dataSource and be cached as it started a Transaction |
void |
releaseConnection(Connection conn,
DataSource dataSource)
A ConnectionManager implementation determine how to close connection or return connection to ThreadLocal or return to Spring or JTA or some container... |
| Method Detail |
|---|
Connection getConnection(DataSource dataSource)
throws SQLException
SQLException
void releaseConnection(Connection conn,
DataSource dataSource)
throws SQLException
SQLExceptionboolean isInTransaction(DataSource dataSource)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||