public interface JdbcConnectionAccess
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
obtainConnection()
Obtain a JDBC connection
|
void |
releaseConnection(java.sql.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?
|
java.sql.Connection obtainConnection()
throws java.sql.SQLException
java.sql.SQLException - Indicates a problem getting the connectionvoid releaseConnection(java.sql.Connection connection)
throws java.sql.SQLException
connection - The connection to releasejava.sql.SQLException - Indicates a problem releasing the connectionboolean supportsAggressiveRelease()
ConnectionProvider.supportsAggressiveRelease(),
MultiTenantConnectionProvider.supportsAggressiveRelease()Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.