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 java.sql.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 java.sql.SQLException
Deprecated.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.SQLException
Deprecated.Get a reference to the connection we are using.- Returns:
- The JDBC connection.
- Throws:
java.sql.SQLException
-
release
void release() throws java.sql.SQLException
Deprecated.Release any resources held by this helper.- Throws:
java.sql.SQLException
-
-