Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.event
Interface PersistEventListener

All Superinterfaces:
  Serializable

All Known Implementing Classes:
  DefaultPersistEventListener, DefaultPersistOnFlushEventListener

    public interface PersistEventListener

extends Serializable

Defines the contract for handling of create events generated from a session.

Author:
  Gavin King

Method Summary
`void` | `onPersist(PersistEvent event)` Handle the given create event.
`void` | `onPersist(PersistEvent event, Map createdAlready)` Handle the given create event.

Method Detail

### onPersist

    void onPersist(PersistEvent event)
                   throws HibernateException

  Handle the given create event.

  Parameters:
    `event` - The create event to be handled.
  Throws:
    `HibernateException`

### onPersist

    void onPersist(PersistEvent event,
                   Map createdAlready)
                   throws HibernateException

  Handle the given create event.

  Parameters:
    `event` - The create event to be handled.
  Throws:
    `HibernateException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD