net.sf.beanlib.hibernate3
Class Hibernate3SequenceGenerator
java.lang.Object
net.sf.beanlib.hibernate3.Hibernate3SequenceGenerator
public class Hibernate3SequenceGenerator
- extends Object
Hibernate 3 DB Sequence Generator.
- Author:
- Joe D. Velopar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Hibernate3SequenceGenerator
private Hibernate3SequenceGenerator()
nextval
public static long nextval(String sequenceName,
Session session)
- Returns the next sequence id from the specified sequence and session.
createIdentifierGenerator
private static IdentifierGenerator createIdentifierGenerator(String sequenceName,
Session session)
- Returns the identifier generator created for the specified sequence and session.