Package org.hibernate.id
Class SequenceIdentityGenerator.Delegate
java.lang.Object
org.hibernate.id.insert.AbstractReturningDelegate
org.hibernate.id.SequenceIdentityGenerator.Delegate
- All Implemented Interfaces:
InsertGeneratedIdentifierDelegate
- Enclosing class:
SequenceIdentityGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionDelegate(PostInsertIdentityPersister persister, Dialect dialect, String sequenceName) -
Method Summary
Modifier and TypeMethodDescriptionprotected SerializableexecuteAndExtract(PreparedStatement insert) protected PreparedStatementprepare(String insertSQL, SessionImplementor session) Build aInsertspecific to the delegate's mode of handling generated key values.Methods inherited from class org.hibernate.id.insert.AbstractReturningDelegate
getPersister, performInsert, releaseStatement
-
Constructor Details
-
Delegate
-
-
Method Details
-
prepareIdentifierGeneratingInsert
Description copied from interface:InsertGeneratedIdentifierDelegateBuild aInsertspecific to the delegate's mode of handling generated key values.- Returns:
- The insert object.
-
prepare
protected PreparedStatement prepare(String insertSQL, SessionImplementor session) throws SQLException - Specified by:
preparein classAbstractReturningDelegate- Throws:
SQLException
-
executeAndExtract
- Specified by:
executeAndExtractin classAbstractReturningDelegate- Throws:
SQLException
-