Interface DdlTransactionIsolator
-
- All Known Implementing Classes:
DdlTransactionIsolatorJtaImpl
,DdlTransactionIsolatorNonJtaImpl
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 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)
andrelease()
calls.JdbcContext
getJdbcContext()
void
release()
-
-
-
Method Detail
-
getJdbcContext
JdbcContext getJdbcContext()
-
getIsolatedConnection
Connection getIsolatedConnection()
Returns a Connection that is usable within the bounds of theTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)
andrelease()
calls. Further, this Connection will be isolated (transactionally) from any transaction in effect prior to the call tobuildDdlTransactionIsolator
.- Returns:
- The Connection.
-
release
void release()
-
-