类 JdbcConnectionAccessProvidedConnectionImpl
- java.lang.Object
-
- org.hibernate.tool.schema.internal.exec.JdbcConnectionAccessProvidedConnectionImpl
-
- 所有已实现的接口:
Serializable,JdbcConnectionAccess
public class JdbcConnectionAccessProvidedConnectionImpl extends Object implements JdbcConnectionAccess
Implementation of JdbcConnectionAccess for cases where we are provided a JDBC Connection to use.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 JdbcConnectionAccessProvidedConnectionImpl(Connection jdbcConnection)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ConnectionobtainConnection()Obtain a JDBC connectionvoidreleaseConnection(Connection connection)Release a previously obtained connectionbooleansupportsAggressiveRelease()Does the underlying provider of connections support aggressive releasing of connections (and re-acquisition of those connections later, if need be) in JTA environments?
-
-
-
构造器详细资料
-
JdbcConnectionAccessProvidedConnectionImpl
public JdbcConnectionAccessProvidedConnectionImpl(Connection jdbcConnection)
-
-
方法详细资料
-
obtainConnection
public Connection obtainConnection() throws SQLException
从接口复制的说明:JdbcConnectionAccessObtain a JDBC connection- 指定者:
obtainConnection在接口中JdbcConnectionAccess- 返回:
- The obtained connection
- 抛出:
SQLException- Indicates a problem getting the connection
-
releaseConnection
public void releaseConnection(Connection connection) throws SQLException
从接口复制的说明:JdbcConnectionAccessRelease a previously obtained connection- 指定者:
releaseConnection在接口中JdbcConnectionAccess- 参数:
connection- The connection to release- 抛出:
SQLException- Indicates a problem releasing the connection
-
supportsAggressiveRelease
public boolean supportsAggressiveRelease()
从接口复制的说明:JdbcConnectionAccessDoes the underlying provider of connections support aggressive releasing of connections (and re-acquisition of those connections later, if need be) in JTA environments?
-
-