public abstract class AbstractReturningDelegate extends java.lang.Object implements InsertGeneratedIdentifierDelegate
| Constructor and Description |
|---|
AbstractReturningDelegate(PostInsertIdentityPersister persister) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.io.Serializable |
executeAndExtract(java.sql.PreparedStatement insert) |
protected PostInsertIdentityPersister |
getPersister() |
java.io.Serializable |
performInsert(java.lang.String insertSQL,
SessionImplementor session,
Binder binder)
Perform the indicated insert SQL statement and determine the identifier value
generated.
|
protected abstract java.sql.PreparedStatement |
prepare(java.lang.String insertSQL,
SessionImplementor session) |
protected void |
releaseStatement(java.sql.PreparedStatement insert,
SessionImplementor session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprepareIdentifierGeneratingInsertpublic AbstractReturningDelegate(PostInsertIdentityPersister persister)
public final java.io.Serializable performInsert(java.lang.String insertSQL,
SessionImplementor session,
Binder binder)
InsertGeneratedIdentifierDelegateperformInsert in interface InsertGeneratedIdentifierDelegateinsertSQL - The INSERT statement stringsession - The session in which we are operatingbinder - The param binderprotected PostInsertIdentityPersister getPersister()
protected abstract java.sql.PreparedStatement prepare(java.lang.String insertSQL,
SessionImplementor session)
throws java.sql.SQLException
java.sql.SQLExceptionprotected abstract java.io.Serializable executeAndExtract(java.sql.PreparedStatement insert)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void releaseStatement(java.sql.PreparedStatement insert,
SessionImplementor session)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2013. All Rights Reserved.