com.arsdigita.db
Class GenericSequenceImpl
java.lang.Object
com.arsdigita.db.SequenceImpl
com.arsdigita.db.GenericSequenceImpl
- public class GenericSequenceImpl
- extends SequenceImpl
A generic Sequence implementation appropriate for use with databases
that don't support Oracle style sequences.
- Author:
- Kevin Scaldeferri
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
createSequence
public static GenericSequenceImpl createSequence(String sequenceName)
- This creation method should be used to obtain instances
of GenericSequenceImpl.
getNextValue
public BigDecimal getNextValue()
throws SQLException
- Gets the next value in the sequence
- Throws:
SQLException
getCurrentValue
public BigDecimal getCurrentValue()
throws SQLException
- Throws:
SQLException
getNextValue
public BigDecimal getNextValue(Connection conn)
throws SQLException
- Specified by:
getNextValue
in class SequenceImpl
- Throws:
SQLException
getCurrentValue
public BigDecimal getCurrentValue(Connection conn)
throws SQLException
- Specified by:
getCurrentValue
in class SequenceImpl
- Throws:
SQLException
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC