public class LocalTemporaryTableBulkIdStrategy extends AbstractMultiTableBulkIdStrategyImpl<IdTableInfoImpl,AbstractMultiTableBulkIdStrategyImpl.PreparationContext> implements MultiTableBulkIdStrategy
AbstractMultiTableBulkIdStrategyImpl.PreparationContext
MultiTableBulkIdStrategy.DeleteHandler, MultiTableBulkIdStrategy.UpdateHandler
Modifier and Type | Field and Description |
---|---|
static String |
SHORT_NAME |
Constructor and Description |
---|
LocalTemporaryTableBulkIdStrategy() |
LocalTemporaryTableBulkIdStrategy(IdTableSupport idTableSupport,
AfterUseAction afterUseAction,
TempTableDdlTransactionHandling ddlTransactionHandling) |
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 IdTableInfoImpl |
buildIdTableInfo(PersistentClass entityBinding,
Table idTable,
JdbcServices jdbcServices,
MetadataImplementor metadata,
AbstractMultiTableBulkIdStrategyImpl.PreparationContext context) |
MultiTableBulkIdStrategy.UpdateHandler |
buildUpdateHandler(SessionFactoryImplementor factory,
HqlSqlWalker walker)
Build a handler capable of handling the bulk update indicated by the given walker.
|
protected void |
initialize(MetadataBuildingOptions buildingOptions,
SessionFactoryOptions sessionFactoryOptions)
Configure ourselves.
|
void |
release(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess)
Release the strategy.
|
augmentIdTableDefinition, buildIdTableCreateStatement, buildIdTableDropStatement, buildPreparationContext, determineIdTableName, finishPreparation, getIdTableInfo, getIdTableInfo, getIdTableSupport, prepare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepare
public static final String SHORT_NAME
public LocalTemporaryTableBulkIdStrategy()
public LocalTemporaryTableBulkIdStrategy(IdTableSupport idTableSupport, AfterUseAction afterUseAction, TempTableDdlTransactionHandling ddlTransactionHandling)
protected void initialize(MetadataBuildingOptions buildingOptions, SessionFactoryOptions sessionFactoryOptions)
AbstractMultiTableBulkIdStrategyImpl
initialize
in class AbstractMultiTableBulkIdStrategyImpl<IdTableInfoImpl,AbstractMultiTableBulkIdStrategyImpl.PreparationContext>
buildingOptions
- Access to user-defined Metadata building optionsprotected IdTableInfoImpl buildIdTableInfo(PersistentClass entityBinding, Table idTable, JdbcServices jdbcServices, MetadataImplementor metadata, AbstractMultiTableBulkIdStrategyImpl.PreparationContext context)
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.