org.hibernate.id.insert
Interface InsertGeneratedIdentifierDelegate
- AbstractReturningDelegate, AbstractSelectingDelegate, IdentityGenerator.BasicDelegate, IdentityGenerator.GetGeneratedKeysDelegate, IdentityGenerator.InsertSelectDelegate, SelectGenerator.SelectGeneratorDelegate, SequenceIdentityGenerator.Delegate
public interface InsertGeneratedIdentifierDelegate
Responsible for handling delegation relating to variants in how
insert-generated-identifier generator strategies dictate processing:
- building the sql insert statement
- determination of the generated identifier value
performInsert
public Serializable performInsert(String insertSQL,
SessionImplementor session,
Binder binder)
Perform the indicated insert SQL statement and determine the identifier value
generated.
insertSQL
- The INSERT statement stringsession
- The session in which we are operatingbinder
- The param binder
- The generated identifier value.
prepareIdentifierGeneratingInsert
public IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
Build a
Insert
specific to the delegate's mode
of handling generated key values.