ObjectDB ObjectDB

nextValue() - JDO Sequence's method

Method
javax.jdo.datastore.Sequence
long nextValue()

Returns the next sequence value as a long. If the next sequence value is not available or is not numeric, throw JDODataStoreException.
Returns:
the next value
Since:
JDO 2.0