Class DdlTransactionIsolatorJtaImpl
java.lang.Object
org.hibernate.resource.transaction.backend.jta.internal.DdlTransactionIsolatorJtaImpl
- All Implemented Interfaces:
DdlTransactionIsolator
DdlExecutor for use in JTA environments
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns aConnectionthat is usable within the bounds of theTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)andDdlTransactionIsolator.release()calls, with autocommit mode enabled.getIsolatedConnection(boolean autocommit) Returns aConnectionthat is usable within the bounds of theTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)andDdlTransactionIsolator.release()calls, with the given autocommit mode.voidrelease()
-
Constructor Details
-
DdlTransactionIsolatorJtaImpl
-
-
Method Details
-
getJdbcContext
- Specified by:
getJdbcContextin interfaceDdlTransactionIsolator
-
getIsolatedConnection
Description copied from interface:DdlTransactionIsolatorReturns aConnectionthat is usable within the bounds of theTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)andDdlTransactionIsolator.release()calls, with autocommit mode enabled. Further, thisConnectionwill be isolated (transactionally) from any transaction in effect prior to the call tobuildDdlTransactionIsolator.- Specified by:
getIsolatedConnectionin interfaceDdlTransactionIsolator- Returns:
- The Connection.
-
getIsolatedConnection
Description copied from interface:DdlTransactionIsolatorReturns aConnectionthat is usable within the bounds of theTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)andDdlTransactionIsolator.release()calls, with the given autocommit mode. Further, thisConnectionwill be isolated (transactionally) from any transaction in effect prior to the call tobuildDdlTransactionIsolator.- Specified by:
getIsolatedConnectionin interfaceDdlTransactionIsolator- Returns:
- The Connection.
-
release
public void release()- Specified by:
releasein interfaceDdlTransactionIsolator
-