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
Constructors -
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, 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
prepareIdentifierGeneratingInsert
-
Constructor Details
-
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
-