next() - JDO Sequence's method

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

Returns the next sequence value as an Object. If the next sequence value is not available, throw JDODataStoreException.
Returns:
the next value
Since:
JDO 2.0