public interface IdentityManager
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
nextPrimaryKey(java.lang.String table)
Return the next primary key for the specified table.
|
void |
reclaimKeys(java.lang.Long[] keys)
Inform the identity manager that the given primary keys can be reused.
|
void |
setPersistence(Persistence persistence)
Specify the persistence service object for the identity manager.
|
void setPersistence(Persistence persistence)
persistence - Persistence service object associated with identity manager.java.lang.Long nextPrimaryKey(java.lang.String table)
throws PersistenceException
table - Table for which the next primary key will be returned.PersistenceException - if there is an error determining the next primary key ID.void reclaimKeys(java.lang.Long[] keys)
keys - Keys for reuse.