接口 ConnectionHelper
-
@Deprecated public interface ConnectionHelper
已过时。Everything in this package has been replaced withSchemaManagementTooland friends.Contract for delegates responsible for managing connection used by the hbm2ddl tools.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 ConnectiongetConnection()已过时。Get a reference to the connection we are using.voidprepare(boolean needsAutoCommit)已过时。Prepare the helper for use.voidrelease()已过时。Release any resources held by this helper.
-
-
-
方法详细资料
-
prepare
void prepare(boolean needsAutoCommit) throws SQLException已过时。Prepare the helper for use.- 参数:
needsAutoCommit- Should connection be forced to auto-commit if not already.- 抛出:
SQLException
-
getConnection
Connection getConnection() throws SQLException
已过时。Get a reference to the connection we are using.- 返回:
- The JDBC connection.
- 抛出:
SQLException
-
release
void release() throws SQLException已过时。Release any resources held by this helper.- 抛出:
SQLException
-
-