Procedure - Obtaining the Next Value in a Modeled Sequence
In the primary procedure above, a sequence class was created. To obtain the next value in this sequence, use the PersistenceManager.getNextSequence(Class) method passing <MyPackage>.<MySequence>.class.