类 LocalTemporaryTableBulkIdStrategy
- java.lang.Object
-
- org.hibernate.hql.spi.id.AbstractMultiTableBulkIdStrategyImpl<IdTableInfoImpl,AbstractMultiTableBulkIdStrategyImpl.PreparationContext>
-
- org.hibernate.hql.spi.id.local.LocalTemporaryTableBulkIdStrategy
-
- 所有已实现的接口:
MultiTableBulkIdStrategy
public class LocalTemporaryTableBulkIdStrategy extends AbstractMultiTableBulkIdStrategyImpl<IdTableInfoImpl,AbstractMultiTableBulkIdStrategyImpl.PreparationContext> implements MultiTableBulkIdStrategy
Strategy based on ANSI SQL's definition of a "local temporary table" (local to each db session).- 作者:
- Steve Ebersole
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.hibernate.hql.spi.id.AbstractMultiTableBulkIdStrategyImpl
AbstractMultiTableBulkIdStrategyImpl.PreparationContext
-
从接口继承的嵌套类/接口 org.hibernate.hql.spi.id.MultiTableBulkIdStrategy
MultiTableBulkIdStrategy.DeleteHandler, MultiTableBulkIdStrategy.UpdateHandler
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringSHORT_NAME
-
构造器概要
构造器 构造器 说明 LocalTemporaryTableBulkIdStrategy()LocalTemporaryTableBulkIdStrategy(IdTableSupport idTableSupport, AfterUseAction afterUseAction, TempTableDdlTransactionHandling ddlTransactionHandling)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 MultiTableBulkIdStrategy.DeleteHandlerbuildDeleteHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)Build a handler capable of handling the bulk delete indicated by the given walker.protected IdTableInfoImplbuildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, AbstractMultiTableBulkIdStrategyImpl.PreparationContext context)MultiTableBulkIdStrategy.UpdateHandlerbuildUpdateHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)Build a handler capable of handling the bulk update indicated by the given walker.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, buildPreparationContext, determineIdTableName, finishPreparation, 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
-
-
-
-
构造器详细资料
-
LocalTemporaryTableBulkIdStrategy
public LocalTemporaryTableBulkIdStrategy()
-
LocalTemporaryTableBulkIdStrategy
public LocalTemporaryTableBulkIdStrategy(IdTableSupport idTableSupport, AfterUseAction afterUseAction, TempTableDdlTransactionHandling ddlTransactionHandling)
-
-
方法详细资料
-
initialize
protected void initialize(MetadataBuildingOptions buildingOptions, SessionFactoryOptions sessionFactoryOptions)
从类复制的说明:AbstractMultiTableBulkIdStrategyImplConfigure ourselves. By default, nothing to do; here totally for subclass hook-in- 覆盖:
initialize在类中AbstractMultiTableBulkIdStrategyImpl<IdTableInfoImpl,AbstractMultiTableBulkIdStrategyImpl.PreparationContext>- 参数:
buildingOptions- Access to user-defined Metadata building options
-
buildIdTableInfo
protected IdTableInfoImpl buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, AbstractMultiTableBulkIdStrategyImpl.PreparationContext context)
-
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
-
-