public interface JdbcConnectionAccess extends Serializable
Modifier and Type | Method and Description |
---|---|
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?
|
Connection obtainConnection() throws SQLException
SQLException
- Indicates a problem getting the connectionvoid releaseConnection(Connection connection) throws SQLException
connection
- The connection to releaseSQLException
- Indicates a problem releasing the connectionboolean supportsAggressiveRelease()
Copyright © 2018 JBoss by Red Hat. All rights reserved.