接口 DdlTransactionIsolator
-
public interface DdlTransactionIsolatorProvides access to a Connection that is isolated from any "current transaction" with the designed purpose of performing DDL commands- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 ConnectiongetIsolatedConnection()JdbcContextgetJdbcContext()voidprepare()已过时。Instances should be returned fromTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)already prepared for usevoidrelease()
-
-
-
方法详细资料
-
getJdbcContext
JdbcContext getJdbcContext()
-
prepare
@Deprecated void prepare()
已过时。Instances should be returned fromTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)already prepared for useIn general a DdlTransactionIsolator should be returned fromTransactionCoordinatorBuilder.buildDdlTransactionIsolator(org.hibernate.tool.schema.internal.exec.JdbcContext)already prepared for use (untilrelease()is called).
-
getIsolatedConnection
Connection getIsolatedConnection()
Returns a Connection that is usable within the bounds of theprepare()andrelease()calls. Further, this Connection will be isolated (transactionally) from any transaction in effect prior to the call toprepare().- 返回:
- The Connection.
-
release
void release()
-
-