Interface DdlTransactionIsolator
-
public interface DdlTransactionIsolator
Provides access to a Connection that is isolated from any "current transaction" with the designed purpose of performing DDL commands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.sql.Connection
getIsolatedConnection()
org.hibernate.tool.schema.internal.exec.JdbcContext
getJdbcContext()
void
prepare()
Deprecated.Instances should be returned fromTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
already prepared for usevoid
release()
-
-
-
Method Detail
-
getJdbcContext
org.hibernate.tool.schema.internal.exec.JdbcContext getJdbcContext()
-
prepare
@Deprecated void prepare()
Deprecated.Instances should be returned fromTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
already prepared for useIn general a DdlTransactionIsolator should be returned fromTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
already prepared for use (untilrelease()
is called).
-
getIsolatedConnection
java.sql.Connection getIsolatedConnection()
Returns a Connection that is usable within the bounds of theprepare()
andrelease()
calls. Further, this Connection will be isolated (transactionally) from any transaction in effect prior to the call toprepare()
.- Returns:
-
release
void release()
-
-