- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ConnectionHandleSimple interface to be implemented by handles for a JDBC Connection. Used by JpaDialect, for example.
- Fetch the JDBC Connection that this handle refers to.
default void releaseConnection(java.sql.Connection con)Release the JDBC Connection that this handle refers to.
The default implementation is empty, assuming that the lifecycle of the connection is managed externally.
con- the JDBC Connection to release