Package org.hibernate.id.insert
Class BasicSelectingDelegate
java.lang.Object
org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
org.hibernate.id.insert.AbstractSelectingDelegate
org.hibernate.id.insert.BasicSelectingDelegate
- All Implemented Interfaces:
GeneratedValuesMutationDelegate,InsertGeneratedIdentifierDelegate
Delegate for dealing with
IDENTITY columns where the dialect requires an
additional command execution to retrieve the generated IDENTITY value-
Field Summary
Fields inherited from class org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
jdbcValuesMappingProducer -
Constructor Summary
ConstructorsConstructorDescriptionBasicSelectingDelegate(PostInsertIdentityPersister persister, Dialect dialect) Deprecated, for removal: This API element is subject to removal in a future version.BasicSelectingDelegate(EntityPersister persister) -
Method Summary
Modifier and TypeMethodDescriptioncreateTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory) Create aTableMutationBuilderinstance used to build table mutations for this delegate.protected StringGet the SQL statement to be used to retrieve generated key values.Methods inherited from class org.hibernate.id.insert.AbstractSelectingDelegate
bindParameters, extractGeneratedValues, performInsertReturning, performMutation, prepareStatementMethods inherited from class org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
dialect, getGeneratedValuesMappingProducer, getTiming, supportsArbitraryValues, supportsRowIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.generator.values.GeneratedValuesMutationDelegate
getGeneratedValuesMappingProducer, getTiming, supportsArbitraryValues, supportsRowIdMethods inherited from interface org.hibernate.id.insert.InsertGeneratedIdentifierDelegate
createTableInsertBuilder, performInsert, performInsert, prepareIdentifierGeneratingInsert
-
Constructor Details
-
BasicSelectingDelegate
@Deprecated(forRemoval=true, since="6.5") public BasicSelectingDelegate(PostInsertIdentityPersister persister, Dialect dialect) Deprecated, for removal: This API element is subject to removal in a future version.UseBasicSelectingDelegate(EntityPersister)instead. -
BasicSelectingDelegate
-
-
Method Details
-
createTableMutationBuilder
public TableMutationBuilder<?> createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory) Description copied from interface:GeneratedValuesMutationDelegateCreate aTableMutationBuilderinstance used to build table mutations for this delegate. -
getSelectSQL
Description copied from class:AbstractSelectingDelegateGet the SQL statement to be used to retrieve generated key values.- Specified by:
getSelectSQLin classAbstractSelectingDelegate- Returns:
- The SQL command string
-
BasicSelectingDelegate(EntityPersister)instead.