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

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.