org.hibernate.id
Class SequenceIdentityGenerator.Delegate
java.lang.Object
   org.hibernate.id.insert.AbstractReturningDelegate
org.hibernate.id.insert.AbstractReturningDelegate
       org.hibernate.id.SequenceIdentityGenerator.Delegate
org.hibernate.id.SequenceIdentityGenerator.Delegate
- All Implemented Interfaces: 
- InsertGeneratedIdentifierDelegate
- Enclosing class:
- SequenceIdentityGenerator
- public static class SequenceIdentityGenerator.Delegate 
- extends AbstractReturningDelegate
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SequenceIdentityGenerator.Delegate
public SequenceIdentityGenerator.Delegate(PostInsertIdentityPersister persister,
                                          Dialect dialect,
                                          String sequenceName)
prepareIdentifierGeneratingInsert
public IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
- Description copied from interface: InsertGeneratedIdentifierDelegate
- Build a Insertspecific to the delegate's mode
 of handling generated key values.
 
- 
- Returns:
- The insert object.
 
prepare
protected PreparedStatement prepare(String insertSQL,
                                    SessionImplementor session)
                             throws SQLException
- 
- Specified by:
- preparein class- AbstractReturningDelegate
 
- 
- Throws:
- SQLException
 
executeAndExtract
protected Serializable executeAndExtract(PreparedStatement insert)
                                  throws SQLException
- 
- Specified by:
- executeAndExtractin class- AbstractReturningDelegate
 
- 
- Throws:
- SQLException
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.