|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JdbcConnectionAccess
Provides centralized access to JDBC connections. Centralized to hide the complexity of accounting for contextual (multi-tenant) versus non-contextual access.
| Method Summary | |
|---|---|
Connection |
obtainConnection()
Obtain a JDBC connection |
void |
releaseConnection(Connection connection)
Release a previously obtained connection |
boolean |
supportsAggressiveRelease()
Does the underlying provider of connections support aggressive releasing of connections (and re-acquisition of those connections later, if need be) in JTA environments? |
| Method Detail |
|---|
Connection obtainConnection()
throws SQLException
SQLException - Indicates a problem getting the connection
void releaseConnection(Connection connection)
throws SQLException
connection - The connection to release
SQLException - Indicates a problem releasing the connectionboolean supportsAggressiveRelease()
ConnectionProvider.supportsAggressiveRelease(),
MultiTenantConnectionProvider.supportsAggressiveRelease()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||