|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DbConnectionFactory
Creates database connections
| Method Summary | |
|---|---|
DbConnection |
createConnection(TransactionalAction transactionalAction)
Creates a connection with a given TransactionalAction |
void |
releaseConnection(DbConnection connection)
Indicates that the connection is not used anymore |
| Method Detail |
|---|
DbConnection createConnection(TransactionalAction transactionalAction)
throws SQLException
TransactionalAction
transactionalAction - indicates whether or not the factory should
look at active transactions in order to lookup
for already created connections
TransactionalAction
SQLException - when not able to obtain a new connectionvoid releaseConnection(DbConnection connection)
connection - connection to release
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||