|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javatools.db.DbSequence
Generates unique values for use as keys. Constructor is not public. Use DbDatabase.getSequence().
Method Summary | |
int |
next()
Gets the next value. |
int |
next(DbConnection dbcon)
Returns the next value, with a specific connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int next() throws DbException
DbException
- If something goes wrong.public int next(DbConnection dbcon) throws DbException
dbcon
- The connection to use.
DbException
- If something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |