public class GlobalTemporaryTableBulkIdStrategy extends AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl> implements MultiTableBulkIdStrategy
AbstractMultiTableBulkIdStrategyImpl.PreparationContext
MultiTableBulkIdStrategy.DeleteHandler, MultiTableBulkIdStrategy.UpdateHandler
Modifier and Type | Field and Description |
---|---|
static String |
DROP_ID_TABLES |
static String |
SHORT_NAME |
Constructor and Description |
---|
GlobalTemporaryTableBulkIdStrategy() |
GlobalTemporaryTableBulkIdStrategy(AfterUseAction afterUseAction) |
GlobalTemporaryTableBulkIdStrategy(IdTableSupport idTableSupport,
AfterUseAction afterUseAction) |
Modifier and Type | Method and Description |
---|---|
MultiTableBulkIdStrategy.DeleteHandler |
buildDeleteHandler(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.IdTableInfoImpl |
buildIdTableInfo(PersistentClass entityBinding,
Table idTable,
JdbcServices jdbcServices,
MetadataImplementor metadata,
org.hibernate.hql.spi.id.global.PreparationContextImpl context) |
protected org.hibernate.hql.spi.id.global.PreparationContextImpl |
buildPreparationContext() |
MultiTableBulkIdStrategy.UpdateHandler |
buildUpdateHandler(SessionFactoryImplementor factory,
HqlSqlWalker walker)
Build a handler capable of handling the bulk update indicated by the given walker.
|
protected void |
finishPreparation(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess,
MetadataImplementor metadata,
org.hibernate.hql.spi.id.global.PreparationContextImpl context) |
protected void |
initialize(MetadataBuildingOptions buildingOptions,
SessionFactoryOptions sessionFactoryOptions)
Configure ourselves.
|
void |
release(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess)
Release the strategy.
|
augmentIdTableDefinition, buildIdTableCreateStatement, buildIdTableDropStatement, determineIdTableName, getIdTableInfo, getIdTableInfo, getIdTableSupport, prepare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare
public static final String DROP_ID_TABLES
public static final String SHORT_NAME
public GlobalTemporaryTableBulkIdStrategy()
public GlobalTemporaryTableBulkIdStrategy(AfterUseAction afterUseAction)
public GlobalTemporaryTableBulkIdStrategy(IdTableSupport idTableSupport, AfterUseAction afterUseAction)
protected org.hibernate.hql.spi.id.global.PreparationContextImpl buildPreparationContext()
buildPreparationContext
in class AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>
protected void initialize(MetadataBuildingOptions buildingOptions, SessionFactoryOptions sessionFactoryOptions)
AbstractMultiTableBulkIdStrategyImpl
initialize
in class AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>
buildingOptions
- Access to user-defined Metadata building optionsprotected 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
in class AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>
protected void finishPreparation(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess, MetadataImplementor metadata, org.hibernate.hql.spi.id.global.PreparationContextImpl context)
finishPreparation
in class AbstractMultiTableBulkIdStrategyImpl<org.hibernate.hql.spi.id.global.IdTableInfoImpl,org.hibernate.hql.spi.id.global.PreparationContextImpl>
public void release(JdbcServices jdbcServices, JdbcConnectionAccess connectionAccess)
MultiTableBulkIdStrategy
release
in interface MultiTableBulkIdStrategy
jdbcServices
- The JdbcService objectconnectionAccess
- Access to the JDBC Connectionpublic MultiTableBulkIdStrategy.UpdateHandler buildUpdateHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
MultiTableBulkIdStrategy
buildUpdateHandler
in interface MultiTableBulkIdStrategy
factory
- The SessionFactorywalker
- The AST walker, representing the update querypublic MultiTableBulkIdStrategy.DeleteHandler buildDeleteHandler(SessionFactoryImplementor factory, HqlSqlWalker walker)
MultiTableBulkIdStrategy
buildDeleteHandler
in interface MultiTableBulkIdStrategy
factory
- The SessionFactorywalker
- The AST walker, representing the delete queryCopyright © 2019 JBoss by Red Hat. All rights reserved.