public interface Persistable
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Retrieves the integer ID used by Hibernate for the persistable object.
|
void |
reinitialize()
A hook that all Persistable objects need to implement, this is called
on every object after it is read from the database.
|
void |
setId(int id)
Sets the ID used by Hibernate for the persistable object.
|
void setId(int id)
id - The new integer identifier.int getId()
void reinitialize()