Procedure - Obtaining the Next Value in a Non-Modeled Sequence
In the non-modeled procedures above, a sequence was created directly in the datastore. To obtain the next value in this sequence, use the PersistenceManager.getNextSequence(String) method passing the string constant <MySequence>.