Interface DdlTransactionIsolator
-
public interface DdlTransactionIsolatorProvides 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.ConnectiongetIsolatedConnection()org.hibernate.tool.schema.internal.exec.JdbcContextgetJdbcContext()voidprepare()Deprecated.Instances should be returned fromTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)already prepared for usevoidrelease()
-
-
-
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:
- The Connection.
-
release
void release()
-
-