com.arsdigita.db
Class SequenceImpl
java.lang.Object
com.arsdigita.db.SequenceImpl
- Direct Known Subclasses:
- GenericSequenceImpl, OracleSequenceImpl, PostgresSequenceImpl
- public abstract class SequenceImpl
- extends Object
the Sequence class provides functionality akin to Oracle sequences,
i.e. unique integer values appropriate for use as primary keys
n
this abstract class should be implemented by concrete classes
appropriate to a given database
- 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
SequenceImpl
public SequenceImpl()
getCurrentValue
public abstract BigDecimal getCurrentValue(Connection conn)
throws SQLException
- Throws:
SQLException
getNextValue
public abstract BigDecimal getNextValue(Connection conn)
throws SQLException
- Throws:
SQLException
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC