ObjectDB ObjectDB

currentValue() - JDO Sequence's method

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

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