Package org.hibernate.tool.hbm2ddl
Interface ConnectionHelper
-
@Deprecated public interface ConnectionHelper
Deprecated.Everything in this package has been replaced withSchemaManagementTool
and friends.Contract for delegates responsible for managing connection used by the hbm2ddl tools.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Connection
getConnection()
Deprecated.Get a reference to the connection we are using.void
prepare(boolean needsAutoCommit)
Deprecated.Prepare the helper for use.void
release()
Deprecated.Release any resources held by this helper.
-
-
-
Method Detail
-
prepare
void prepare(boolean needsAutoCommit) throws SQLException
Deprecated.Prepare the helper for use.- Parameters:
needsAutoCommit
- Should connection be forced to auto-commit if not already.- Throws:
SQLException
-
getConnection
Connection getConnection() throws SQLException
Deprecated.Get a reference to the connection we are using.- Returns:
- The JDBC connection.
- Throws:
SQLException
-
release
void release() throws SQLException
Deprecated.Release any resources held by this helper.- Throws:
SQLException
-
-