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 DdlTransactionIsolator
public void prepare()
DdlTransactionIsolator
TransactionCoordinatorBuilder#buildDdlTransactionIsolator
already prepared for use (until DdlTransactionIsolator.release()
is called).prepare
in interface DdlTransactionIsolator
public Connection getIsolatedConnection()
DdlTransactionIsolator
DdlTransactionIsolator.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 DdlTransactionIsolator
public void release()
release
in interface DdlTransactionIsolator
Copyright © 2017 JBoss by Red Hat. All rights reserved.