Top Description Methods
org.hibernate.resource.transaction.spi

public Interface DdlTransactionIsolator

Known Direct Implementers
org.hibernate.tool.schema.internal.DdlTransactionIsolatorProvidedConnectionImpl, org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl, org.hibernate.resource.transaction.backend.jta.internal.DdlTransactionIsolatorJtaImpl
Imports
java.sql.Connection, org.hibernate.tool.schema.internal.exec.JdbcContext

Provides access to a Connection that is isolated from any "current transaction" with the designed purpose of performing DDL commands
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Connection

Returns:

The Connection.
getIsolatedConnection
()

Returns a Connection that is usable within the bounds of the prepare and release calls.

public JdbcContext
public void
prepare()

Deprecated Instances should be returned from TransactionCoordinatorBuilder#buildDdlTransactionIsolator already prepared for use
In general a DdlTransactionIsolator should be returned from TransactionCoordinatorBuilder#buildDdlTransactionIsolator already prepared for use (until release is called).
public void

Method Detail

getIsolatedConnectionback to summary
public Connection getIsolatedConnection()

Returns a Connection that is usable within the bounds of the prepare and release calls. Further, this Connection will be isolated (transactionally) from any transaction in effect prior to the call to prepare.

Returns:Connection

The Connection.

getJdbcContextback to summary
public JdbcContext getJdbcContext()
prepareback to summary
public void prepare()

Deprecated

Instances should be returned from TransactionCoordinatorBuilder#buildDdlTransactionIsolator already prepared for use

In general a DdlTransactionIsolator should be returned from TransactionCoordinatorBuilder#buildDdlTransactionIsolator already prepared for use (until release is called).

Annotations
@Deprecated
releaseback to summary
public void release()