public interface ConnectionHandle
SimpleConnectionHandle
,
ConnectionHolder
,
JpaDialect.getJdbcConnection(javax.persistence.EntityManager, boolean)
,
JdoDialect.getJdbcConnection(javax.jdo.PersistenceManager, boolean)
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Fetch the JDBC Connection that this handle refers to.
|
void |
releaseConnection(Connection con)
Release the JDBC Connection that this handle refers to.
|
Connection getConnection()
void releaseConnection(Connection con)
con
- the JDBC Connection to release