Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.id.insert
Interface InsertGeneratedIdentifierDelegate  view InsertGeneratedIdentifierDelegate download InsertGeneratedIdentifierDelegate.java

All Known Implementing Classes:
AbstractReturningDelegate, AbstractSelectingDelegate

public interface InsertGeneratedIdentifierDelegate

Responsible for handling delegation relating to variants in how insert-generated-identifier generator strategies dictate processing:


Method Summary
 java.io.Serializable performInsert(java.lang.String insertSQL, org.hibernate.engine.SessionImplementor session, Binder binder)
          Perform the indicated insert SQL statement and determine the identifier value generated.
 IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
          Build a org.hibernate.sql.Insert specific to the delegate's mode of handling generated key values.
 

Method Detail

prepareIdentifierGeneratingInsert

public IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
Build a org.hibernate.sql.Insert specific to the delegate's mode of handling generated key values.


performInsert

public java.io.Serializable performInsert(java.lang.String insertSQL,
                                          org.hibernate.engine.SessionImplementor session,
                                          Binder binder)
Perform the indicated insert SQL statement and determine the identifier value generated.