public interface IdentityManager
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
nextPrimaryKey(java.lang.String table)
Return the next primary key for the specified table.
|
void |
reclaimKeys(java.io.Serializable[] 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.io.Serializable 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.io.Serializable[] keys)
keys
- Keys for reuse.