Home » Hibernate-3.3.2.GA » org.hibernate » id » insert » [javadoc | source]
org.hibernate.id.insert
abstract public class: AbstractReturningDelegate [javadoc | source]
java.lang.Object
   org.hibernate.id.insert.AbstractReturningDelegate

All Implemented Interfaces:
    InsertGeneratedIdentifierDelegate

Direct Known Subclasses:
    InsertSelectDelegate, Delegate, GetGeneratedKeysDelegate

Abstract InsertGeneratedIdentifierDelegate implementation where the underlying strategy causes the enerated identitifer to be returned as an effect of performing the insert statement. Thus, there is no need for an additional sql statement to determine the generated identitifer.
Constructor:
 public AbstractReturningDelegate(PostInsertIdentityPersister persister) 
Method from org.hibernate.id.insert.AbstractReturningDelegate Summary:
executeAndExtract,   getPersister,   performInsert,   prepare,   releaseStatement
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.id.insert.AbstractReturningDelegate Detail:
 abstract protected Serializable executeAndExtract(PreparedStatement insert) throws SQLException
 protected PostInsertIdentityPersister getPersister() 
 public final Serializable performInsert(String insertSQL,
    SessionImplementor session,
    Binder binder) 
 abstract protected PreparedStatement prepare(String insertSQL,
    SessionImplementor session) throws SQLException
 protected  void releaseStatement(PreparedStatement insert,
    SessionImplementor session) throws SQLException