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
ConstructorDescriptionBasicSelectingDelegate
(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 aTableMutationBuilder
instance used to build table mutations for this delegate.protected String
Get the SQL statement to be used to retrieve generated key values.Methods inherited from class org.hibernate.id.insert.AbstractSelectingDelegate
bindParameters, extractGeneratedValues, performInsertReturning, performMutation, prepareStatement
Methods inherited from class org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
dialect, getGeneratedValuesMappingProducer, getTiming, supportsArbitraryValues, supportsRowId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.generator.values.GeneratedValuesMutationDelegate
getGeneratedValuesMappingProducer, getTiming, supportsArbitraryValues, supportsRowId
Methods 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:GeneratedValuesMutationDelegate
Create aTableMutationBuilder
instance used to build table mutations for this delegate. -
getSelectSQL
Description copied from class:AbstractSelectingDelegate
Get the SQL statement to be used to retrieve generated key values.- Specified by:
getSelectSQL
in classAbstractSelectingDelegate
- Returns:
- The SQL command string
-
BasicSelectingDelegate(EntityPersister)
instead.