ch.elca.el4j.services.persistence.hibernate
Class TriggerAssignedIdentityGenerator.Delegate
java.lang.Object
org.hibernate.id.insert.AbstractReturningDelegate
ch.elca.el4j.services.persistence.hibernate.TriggerAssignedIdentityGenerator.Delegate
- All Implemented Interfaces:
- InsertGeneratedIdentifierDelegate
- Enclosing class:
- TriggerAssignedIdentityGenerator
public static class TriggerAssignedIdentityGenerator.Delegate
- extends AbstractReturningDelegate
Delegate for the returned generated value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TriggerAssignedIdentityGenerator.Delegate
public TriggerAssignedIdentityGenerator.Delegate(PostInsertIdentityPersister persister,
Dialect dialect)
- Parameters:
persister
- Is the post insert identity persisterdialect
- Is the dialect of the database.
prepareIdentifierGeneratingInsert
public IdentifierGeneratingInsert prepareIdentifierGeneratingInsert()
- Removes the comments for insertion.
prepare
protected PreparedStatement prepare(String insertSQL,
SessionImplementor session)
throws SQLException
-
- Specified by:
prepare
in class AbstractReturningDelegate
- Throws:
SQLException
executeAndExtract
protected Serializable executeAndExtract(PreparedStatement insert)
throws SQLException
-
- Specified by:
executeAndExtract
in class AbstractReturningDelegate
- Throws:
SQLException
Copyright © 2005-2011 ELCA. All Rights Reserved.