public static class IdentityGenerator.InsertSelectDelegate extends AbstractReturningDelegate implements InsertGeneratedIdentifierDelegate
| Constructor and Description |
|---|
IdentityGenerator.InsertSelectDelegate(PostInsertIdentityPersister persister,
Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
determineGeneratedIdentifier(SessionImplementor session,
Object entity) |
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, releaseStatementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperformInsertpublic IdentityGenerator.InsertSelectDelegate(PostInsertIdentityPersister persister, Dialect dialect)
public IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
InsertGeneratedIdentifierDelegateInsert specific to the delegate's mode
of handling generated key values.prepareIdentifierGeneratingInsert in interface InsertGeneratedIdentifierDelegateprotected PreparedStatement prepare(String insertSQL, SessionImplementor session) throws SQLException
prepare in class AbstractReturningDelegateSQLExceptionpublic Serializable executeAndExtract(PreparedStatement insert) throws SQLException
executeAndExtract in class AbstractReturningDelegateSQLExceptionpublic Serializable determineGeneratedIdentifier(SessionImplementor session, Object entity)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.