public interface DdlTransactionIsolator
Provides access to a Connection that is isolated from any "current transaction" with the designed purpose of performing DDL commands
Modifier and Type | Method and Description |
---|---|
Connection |
getIsolatedConnection()
|
org.hibernate.tool.schema.internal.exec.JdbcContext |
getJdbcContext() |
void |
prepare()
Deprecated.
Instances should be returned from
TransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
already prepared for use |
void |
release() |
org.hibernate.tool.schema.internal.exec.JdbcContext getJdbcContext()
@Deprecated void prepare()
TransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
already prepared for useIn general a DdlTransactionIsolator should be returned from
TransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
already prepared for use (until release()
is called).
Connection getIsolatedConnection()
Returns a Connection that is usable within the bounds of the
prepare()
and release()
calls. Further, this
Connection will be isolated (transactionally) from any
transaction in effect prior to the call to prepare()
.
void release()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.