public class DdlTransactionIsolatorJtaImpl extends Object implements DdlTransactionIsolator
| Constructor and Description |
|---|
DdlTransactionIsolatorJtaImpl(JdbcContext jdbcContext) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getIsolatedConnection()
Returns a Connection that is usable within the bounds of the
DdlTransactionIsolator.prepare() and DdlTransactionIsolator.release() calls. |
JdbcContext |
getJdbcContext() |
void |
prepare()
In general a DdlTransactionIsolator should be returned from
TransactionCoordinatorBuilder#buildDdlTransactionIsolator
already prepared for use (until DdlTransactionIsolator.release() is called). |
void |
release() |
public DdlTransactionIsolatorJtaImpl(JdbcContext jdbcContext)
public JdbcContext getJdbcContext()
getJdbcContext in interface DdlTransactionIsolatorpublic void prepare()
DdlTransactionIsolatorTransactionCoordinatorBuilder#buildDdlTransactionIsolator
already prepared for use (until DdlTransactionIsolator.release() is called).prepare in interface DdlTransactionIsolatorpublic Connection getIsolatedConnection()
DdlTransactionIsolatorDdlTransactionIsolator.prepare() and DdlTransactionIsolator.release() calls. Further, this
Connection will be isolated (transactionally) from any
transaction in effect prior to the call to DdlTransactionIsolator.prepare().getIsolatedConnection in interface DdlTransactionIsolatorpublic void release()
release in interface DdlTransactionIsolatorCopyright © 2018 JBoss by Red Hat. All rights reserved.