类 GlobalTemporaryTableBulkIdStrategy
- java.lang.Object
-
- org.hibernate.hql.spi.id.AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>
-
- org.hibernate.hql.spi.id.global.GlobalTemporaryTableBulkIdStrategy
-
- 所有已实现的接口:
MultiTableBulkIdStrategy
public class GlobalTemporaryTableBulkIdStrategy extends AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl> implements MultiTableBulkIdStrategy
Strategy based on ANSI SQL's definition of a "global temporary table".- 作者:
- Steve Ebersole
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.hibernate.hql.spi.id.AbstractMultiTableBulkIdStrategyImpl
AbstractMultiTableBulkIdStrategyImpl.PreparationContext
-
从接口继承的嵌套类/接口 org.hibernate.hql.spi.id.MultiTableBulkIdStrategy
MultiTableBulkIdStrategy.DeleteHandler, MultiTableBulkIdStrategy.UpdateHandler
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringDROP_ID_TABLESstatic StringSHORT_NAME
-
构造器概要
构造器 构造器 说明 GlobalTemporaryTableBulkIdStrategy()GlobalTemporaryTableBulkIdStrategy(IdTableSupport idTableSupport, AfterUseAction afterUseAction)GlobalTemporaryTableBulkIdStrategy(AfterUseAction afterUseAction)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 MultiTableBulkIdStrategy.DeleteHandlerbuildDeleteHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)Build a handler capable of handling the bulk delete indicated by the given walker.protected org.hibernate.hql.spi.id.global.IdTableInfoImplbuildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, org.hibernate.hql.spi.id.global.PreparationContextImpl context)protected org.hibernate.hql.spi.id.global.PreparationContextImplbuildPreparationContext()MultiTableBulkIdStrategy.UpdateHandlerbuildUpdateHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)Build a handler capable of handling the bulk update indicated by the given walker.protected voidfinishPreparation(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, MetadataImplementor metadata, org.hibernate.hql.spi.id.global.PreparationContextImpl context)protected voidinitialize(MetadataBuildingOptions buildingOptions, SessionFactoryOptions sessionFactoryOptions)Configure ourselves.voidrelease(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess)Release the strategy.-
从类继承的方法 org.hibernate.hql.spi.id.AbstractMultiTableBulkIdStrategyImpl
augmentIdTableDefinition, buildIdTableCreateStatement, buildIdTableDropStatement, determineIdTableName, getIdTableInfo, getIdTableInfo, getIdTableSupport, prepare
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.hql.spi.id.MultiTableBulkIdStrategy
prepare
-
-
-
-
构造器详细资料
-
GlobalTemporaryTableBulkIdStrategy
public GlobalTemporaryTableBulkIdStrategy()
-
GlobalTemporaryTableBulkIdStrategy
public GlobalTemporaryTableBulkIdStrategy(AfterUseAction afterUseAction)
-
GlobalTemporaryTableBulkIdStrategy
public GlobalTemporaryTableBulkIdStrategy(IdTableSupport idTableSupport, AfterUseAction afterUseAction)
-
-
方法详细资料
-
buildPreparationContext
protected org.hibernate.hql.spi.id.global.PreparationContextImpl buildPreparationContext()
- 覆盖:
buildPreparationContext在类中AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>
-
initialize
protected void initialize(MetadataBuildingOptions buildingOptions, SessionFactoryOptions sessionFactoryOptions)
从类复制的说明:AbstractMultiTableBulkIdStrategyImplConfigure ourselves. By default, nothing to do; here totally for subclass hook-in- 覆盖:
initialize在类中AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>- 参数:
buildingOptions- Access to user-defined Metadata building options
-
buildIdTableInfo
protected org.hibernate.hql.spi.id.global.IdTableInfoImpl buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, org.hibernate.hql.spi.id.global.PreparationContextImpl context)
- 指定者:
buildIdTableInfo在类中AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>
-
finishPreparation
protected void finishPreparation(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, MetadataImplementor metadata, org.hibernate.hql.spi.id.global.PreparationContextImpl context)
- 覆盖:
finishPreparation在类中AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>
-
release
public void release(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess)
从接口复制的说明:MultiTableBulkIdStrategyRelease the strategy. Called as the SessionFactory is being shut down.- 指定者:
release在接口中MultiTableBulkIdStrategy- 参数:
jdbcServices- The JdbcService objectconnectionAccess- Access to the JDBC Connection
-
buildUpdateHandler
public MultiTableBulkIdStrategy.UpdateHandler buildUpdateHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
从接口复制的说明:MultiTableBulkIdStrategyBuild a handler capable of handling the bulk update indicated by the given walker.- 指定者:
buildUpdateHandler在接口中MultiTableBulkIdStrategy- 参数:
factory- The SessionFactorywalker- The AST walker, representing the update query- 返回:
- The handler
-
buildDeleteHandler
public MultiTableBulkIdStrategy.DeleteHandler buildDeleteHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
从接口复制的说明:MultiTableBulkIdStrategyBuild a handler capable of handling the bulk delete indicated by the given walker.- 指定者:
buildDeleteHandler在接口中MultiTableBulkIdStrategy- 参数:
factory- The SessionFactorywalker- The AST walker, representing the delete query- 返回:
- The handler
-
-