org.hibernate.event
Class PreInsertEvent
java.lang.Object
org.hibernate.event.PreInsertEvent
public class PreInsertEvent
- extends Object
Occurs before inserting an item in the datastore
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreInsertEvent
public PreInsertEvent(Object entity,
Serializable id,
Object[] state,
EntityPersister persister,
SessionImplementor source)
getEntity
public Object getEntity()
getId
public Serializable getId()
getPersister
public EntityPersister getPersister()
getState
public Object[] getState()
getSource
public SessionImplementor getSource()