ObjectDB ObjectDB

current() - JDO Sequence's method

Method
javax.jdo.datastore.Sequence
Object current()

Returns the current sequence value object if it is available. It is intended to return a sequence value object previously used. If the current sequence value is not available, throw JDODataStoreException.
Returns:
the current value
Since:
JDO 2.0