接口 ConnectionHandle
- 所有已知实现类:
SimpleConnectionHandle
public interface ConnectionHandle
Simple interface to be implemented by handles for a JDBC Connection. Used by JpaDialect and JdoDialect, for example.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Connection
getConnection()
Fetch the JDBC Connection that this handle refers to.void
releaseConnection(Connection con)
Release the JDBC Connection that this handle refers to.
方法详细资料
getConnection
Connection getConnection()
Fetch the JDBC Connection that this handle refers to.
releaseConnection
void releaseConnection(Connection con)
Release the JDBC Connection that this handle refers to.- 参数:
con
- the JDBC Connection to release