@FunctionalInterface
public interface ConnectionHandle
SimpleConnectionHandle,
ConnectionHolder| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection() |
default void |
releaseConnection(java.sql.Connection con)
Release the JDBC Connection that this handle refers to.
|
java.sql.Connection getConnection()
default void releaseConnection(java.sql.Connection con)
The default implementation is empty, assuming that the lifecycle of the connection is managed externally.
con - the JDBC Connection to release