SchemaManagementTool and friends.@Deprecated public interface ConnectionHelper
Contract for delegates responsible for managing connection used by the hbm2ddl tools.
| Modifier and Type | Method and 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.
|
void prepare(boolean needsAutoCommit)
throws SQLException
Prepare the helper for use.
needsAutoCommit - Should connection be forced to auto-commit
if not already.SQLExceptionConnection getConnection() throws SQLException
Get a reference to the connection we are using.
SQLExceptionvoid release()
throws SQLException
Release any resources held by this helper.
SQLExceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.