| Modifier and Type | Field and Description |
|---|---|
| private final ConnectionProvider | |
| private final SessionEventListener |
| Access | Constructor and Description |
|---|---|
| public | NonContextualJdbcConnectionAccess(SessionEventListener listener, ConnectionProvider connectionProvider)
|
| Modifier and Type | Method and Description |
|---|---|
| public Connection | obtainConnection()
Implements org. |
| public void | releaseConnection(Connection
The connection to release connection)Implements org. |
| public boolean | supportsAggressiveRelease()
Implements org. |
| connectionProvider | back to summary |
|---|---|
| private final ConnectionProvider connectionProvider | |
| listener | back to summary |
|---|---|
| private final SessionEventListener listener | |
| NonContextualJdbcConnectionAccess | back to summary |
|---|---|
| public NonContextualJdbcConnectionAccess(SessionEventListener listener, ConnectionProvider connectionProvider) | |
| obtainConnection | back to summary |
|---|---|
| public Connection obtainConnection() throws SQLException Implements org. Doc from org. Obtain a JDBC connection
| |
| releaseConnection | back to summary |
|---|---|
| public void releaseConnection(Connection connection) throws SQLException Implements org. Doc from org. Release a previously obtained connection
| |
| supportsAggressiveRelease | back to summary |
|---|---|
| public boolean supportsAggressiveRelease() Implements org. Doc from org. Does the underlying provider of connections support aggressive releasing of connections (and re-acquisition of those connections later, if need be) in JTA environments?
| |