Save This Page
Home » hibernate-core-src-20081106 » org.hibernate » event » [javadoc | source]
org.hibernate.event
public interface: PersistEventListener [javadoc | source]

All Implemented Interfaces:
    Serializable

All Known Implementing Classes:
    DefaultPersistEventListener, EJB3PersistEventListener, EJB3PersistOnFlushEventListener, DefaultPersistOnFlushEventListener

Defines the contract for handling of create events generated from a session.
Method from org.hibernate.event.PersistEventListener Summary:
onPersist,   onPersist
Method from org.hibernate.event.PersistEventListener Detail:
 public  void onPersist(PersistEvent event) throws HibernateException
    Handle the given create event.
 public  void onPersist(PersistEvent event,
    Map createdAlready) throws HibernateException
    Handle the given create event.