Package org.hibernate.tool.hbm2ddl
Interface ConnectionHelper
-
@Deprecated public interface ConnectionHelperDeprecated.Everything in this package has been replaced withSchemaManagementTooland 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 java.sql.ConnectiongetConnection()Deprecated.Get a reference to the connection we are using.voidprepare(boolean needsAutoCommit)Deprecated.Prepare the helper for use.voidrelease()Deprecated.Release any resources held by this helper.
-
-
-
Method Detail
-
prepare
void prepare(boolean needsAutoCommit) throws java.sql.SQLExceptionDeprecated.Prepare the helper for use.- Parameters:
needsAutoCommit- Should connection be forced to auto-commit if not already.- Throws:
java.sql.SQLException
-
getConnection
java.sql.Connection getConnection() throws java.sql.SQLExceptionDeprecated.Get a reference to the connection we are using.- Returns:
- The JDBC connection.
- Throws:
java.sql.SQLException
-
release
void release() throws java.sql.SQLExceptionDeprecated.Release any resources held by this helper.- Throws:
java.sql.SQLException
-
-