Example usage for Java org.hibernate.event.spi PreUpdateEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | getEntity() Retrieves the entity involved in the database operation. |
Object[] | getOldState() The old state of the entity at the time it was last loaded from the database; can be null in the case of detached entities. |
EntityPersister | getPersister() The persister for the #getEntity entity . |
EventSource | getSession() Returns the session event source for this event. |
Object[] | getState() Retrieves the state to be used in the update. |