Package | Description |
---|---|
org.josef.jpa |
JPA (Java Persistence API) related classes.
|
Modifier and Type | Method and Description |
---|---|
long |
SequentialIdGenerator.fetchNextSequentialID(String sequenceName)
Fetches the current sequence id for the supplied sequenceName, increments it and stores it in the database.
|
long |
SequentialIdGenerator.fetchNextSequentialID(String sequenceName,
int numberOfIds)
Fetches the current sequence id for the supplied sequenceName, increments it by the supplied numberOfIds and stores it
in the database.
|
long |
ObjectIdDispenser.getNextObjectID()
Retrieves the next unique object identifier.
|
static void |
ObjectIdDispenser.main(String[] args)
Gets and prints the next object ID.
|
Copyright © 2008–2018. All rights reserved.