Class DdlTransactionIsolatorJtaImpl
- java.lang.Object
-
- org.hibernate.resource.transaction.backend.jta.internal.DdlTransactionIsolatorJtaImpl
-
- All Implemented Interfaces:
DdlTransactionIsolator
public class DdlTransactionIsolatorJtaImpl extends Object implements DdlTransactionIsolator
DdlExecutor for use in JTA environments
-
-
Constructor Summary
Constructors Constructor Description DdlTransactionIsolatorJtaImpl(JdbcContext jdbcContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
getIsolatedConnection()
Returns a Connection that is usable within the bounds of theTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
andDdlTransactionIsolator.release()
calls.JdbcContext
getJdbcContext()
void
release()
-
-
-
Constructor Detail
-
DdlTransactionIsolatorJtaImpl
public DdlTransactionIsolatorJtaImpl(JdbcContext jdbcContext)
-
-
Method Detail
-
getJdbcContext
public JdbcContext getJdbcContext()
- Specified by:
getJdbcContext
in interfaceDdlTransactionIsolator
-
getIsolatedConnection
public Connection getIsolatedConnection()
Description copied from interface:DdlTransactionIsolator
Returns a Connection that is usable within the bounds of theTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
andDdlTransactionIsolator.release()
calls. Further, this Connection will be isolated (transactionally) from any transaction in effect prior to the call tobuildDdlTransactionIsolator
.- Specified by:
getIsolatedConnection
in interfaceDdlTransactionIsolator
- Returns:
- The Connection.
-
release
public void release()
- Specified by:
release
in interfaceDdlTransactionIsolator
-
-