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