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
public class BasicSelectingDelegate extends AbstractSelectingDelegate
Delegate for dealing withIDENTITY
columns where the dialect requires an additional command execution to retrieve the generatedIDENTITY
value
-
-
Field Summary
-
Fields inherited from class org.hibernate.generator.values.AbstractGeneratedValuesMutationDelegate
jdbcValuesMappingProducer
-
-
Constructor Summary
Constructors Constructor Description BasicSelectingDelegate(PostInsertIdentityPersister persister, Dialect dialect)
Deprecated, for removal: This API element is subject to removal in a future version.UseBasicSelectingDelegate(EntityPersister)
instead.BasicSelectingDelegate(EntityPersister persister)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableMutationBuilder<?>
createTableMutationBuilder(Expectation expectation, SessionFactoryImplementor factory)
Create aTableMutationBuilder
instance used to build table mutations for this delegate.protected String
getSelectSQL()
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 Detail
-
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
public BasicSelectingDelegate(EntityPersister persister)
-
-
Method Detail
-
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
protected String 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
-
-