Uses of Interface
org.hibernate.engine.jdbc.batch.spi.BatchKey
Packages that use BatchKey
Package
Description
Internals for JDBC batching support.
Defines contracts for JDBC batching support.
Internals for supporting various aspects of JDBC interaction
SPI contracts supporting various aspects of JDBC interaction.
Defines support for performing mutation operations originating
from persistence-context events.
Package contains specialized SQL AST nodes and builders for table mutations
of model parts
originating from normal persistence-context events.
-
Uses of BatchKey in org.hibernate.engine.jdbc.batch.internal
Classes in org.hibernate.engine.jdbc.batch.internal that implement BatchKeyMethods in org.hibernate.engine.jdbc.batch.internal that return BatchKeyMethods in org.hibernate.engine.jdbc.batch.internal with parameters of type BatchKeyModifier and TypeMethodDescriptionBatchBuilderImpl.buildBatch
(BatchKey batchKey, Integer sizeOverride, String table, SessionImplementor session, String sql) Intended for use from testsBatchBuilderImpl.buildBatch
(BatchKey key, Integer explicitBatchSize, Supplier<PreparedStatementGroup> statementGroupSupplier, JdbcCoordinator jdbcCoordinator) Constructors in org.hibernate.engine.jdbc.batch.internal with parameters of type BatchKeyModifierConstructorDescriptionBatchImpl
(BatchKey key, PreparedStatementGroup statementGroup, int batchSizeToUse, JdbcCoordinator jdbcCoordinator) -
Uses of BatchKey in org.hibernate.engine.jdbc.batch.spi
Methods in org.hibernate.engine.jdbc.batch.spi that return BatchKeyModifier and TypeMethodDescriptionBatch.getKey()
Retrieves the object being used to key (uniquely identify) this batch.Methods in org.hibernate.engine.jdbc.batch.spi with parameters of type BatchKeyModifier and TypeMethodDescriptionBatchBuilder.buildBatch
(BatchKey key, Integer batchSize, Supplier<PreparedStatementGroup> statementGroupSupplier, JdbcCoordinator jdbcCoordinator) Build a batch. -
Uses of BatchKey in org.hibernate.engine.jdbc.internal
Methods in org.hibernate.engine.jdbc.internal with parameters of type BatchKeyModifier and TypeMethodDescriptionvoid
JdbcCoordinatorImpl.conditionallyExecuteBatch
(BatchKey key) JdbcCoordinatorImpl.getBatch
(BatchKey key, Integer batchSize, Supplier<PreparedStatementGroup> statementGroupSupplier) -
Uses of BatchKey in org.hibernate.engine.jdbc.mutation.internal
Methods in org.hibernate.engine.jdbc.mutation.internal that return BatchKeyMethods in org.hibernate.engine.jdbc.mutation.internal with parameters of type BatchKeyModifier and TypeMethodDescriptionprotected void
AbstractMutationExecutor.prepareForNonBatchedWork
(BatchKey batchKey, SharedSessionContractImplementor session) Executors with non-batched operations should call this to clean up any "previous" batch before starting their workConstructors in org.hibernate.engine.jdbc.mutation.internal with parameters of type BatchKeyModifierConstructorDescriptionMutationExecutorSingleBatched
(PreparableMutationOperation mutationOperation, BatchKey batchKey, int batchSize, SharedSessionContractImplementor session) -
Uses of BatchKey in org.hibernate.engine.jdbc.mutation.spi
Methods in org.hibernate.engine.jdbc.mutation.spi that return BatchKey -
Uses of BatchKey in org.hibernate.engine.jdbc.spi
Methods in org.hibernate.engine.jdbc.spi with parameters of type BatchKeyModifier and TypeMethodDescriptionvoid
JdbcCoordinator.conditionallyExecuteBatch
(BatchKey key) Conditionally execute the currently managed batch (if any), if the keys do not matchJdbcCoordinator.getBatch
(BatchKey key, Integer batchSize, Supplier<PreparedStatementGroup> statementGroupSupplier) Get the batch for the supplied key, creating one if needed using the supplied statementGroupSupplier. -
Uses of BatchKey in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation that return BatchKeyModifier and TypeMethodDescriptionprotected abstract BatchKey
AbstractMutationCoordinator.getBatchKey()
protected BatchKey
InsertCoordinatorStandard.getBatchKey()
protected BatchKey
UpdateCoordinatorStandard.getBatchKey()
protected BatchKey
UpdateCoordinatorStandard.getVersionUpdateBatchkey()
Constructors in org.hibernate.persister.entity.mutation with parameters of type BatchKeyModifierConstructorDescriptionprotected
UpdateCoordinatorStandard
(EntityPersister entityPersister, SessionFactoryImplementor factory, MutationOperationGroup staticUpdateGroup, BatchKey batchKey, MutationOperationGroup versionUpdateGroup, BatchKey versionUpdateBatchkey) -
Uses of BatchKey in org.hibernate.sql.model
Methods in org.hibernate.sql.model with parameters of type BatchKeyModifier and TypeMethodDescriptiondefault boolean
PreparableMutationOperation.canBeBatched
(BatchKey batchKey, int batchSize) Series of opt-out checks for whether the operation can be handled as part of a batch.