public static class SequenceIdentityGenerator.Delegate extends AbstractReturningDelegate
| Constructor and Description |
|---|
Delegate(PostInsertIdentityPersister persister,
Dialect dialect,
String sequenceName) |
| Modifier and Type | Method and Description |
|---|---|
protected Serializable |
executeAndExtract(PreparedStatement insert,
SharedSessionContractImplementor session) |
protected PreparedStatement |
prepare(String insertSQL,
SharedSessionContractImplementor session) |
IdentifierGeneratingInsert |
prepareIdentifierGeneratingInsert()
Build a
Insert specific to the delegate's mode
of handling generated key values. |
getPersister, performInsert, releaseStatementpublic Delegate(PostInsertIdentityPersister persister, Dialect dialect, String sequenceName)
public IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
InsertGeneratedIdentifierDelegateInsert specific to the delegate's mode
of handling generated key values.protected PreparedStatement prepare(String insertSQL, SharedSessionContractImplementor session) throws SQLException
prepare in class AbstractReturningDelegateSQLExceptionprotected Serializable executeAndExtract(PreparedStatement insert, SharedSessionContractImplementor session) throws SQLException
executeAndExtract in class AbstractReturningDelegateSQLExceptionCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.