public class DdlTransactionIsolatorSharedImpl extends Object implements DdlTransactionIsolator
| Constructor and Description |
|---|
DdlTransactionIsolatorSharedImpl(DdlTransactionIsolator ddlTransactionIsolator) |
| 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() |
void |
release() |
public DdlTransactionIsolatorSharedImpl(DdlTransactionIsolator ddlTransactionIsolator)
public JdbcContext getJdbcContext()
getJdbcContext in interface DdlTransactionIsolatorpublic void prepare()
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 © 2001-2016 Red Hat, Inc. All Rights Reserved.