public class HibernateDataChangePublishListener
extends java.lang.Object
implements org.hibernate.event.spi.PostInsertEventListener, org.hibernate.event.spi.PostUpdateEventListener, org.hibernate.event.spi.PostDeleteEventListener, org.hibernate.event.spi.PreCollectionUpdateEventListener, org.hibernate.event.spi.FlushEntityEventListener
| Constructor and Description |
|---|
HibernateDataChangePublishListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onFlushEntity(org.hibernate.event.spi.FlushEntityEvent event) |
void |
onPostDelete(org.hibernate.event.spi.PostDeleteEvent event) |
void |
onPostInsert(org.hibernate.event.spi.PostInsertEvent event) |
void |
onPostUpdate(org.hibernate.event.spi.PostUpdateEvent event) |
void |
onPreUpdateCollection(org.hibernate.event.spi.PreCollectionUpdateEvent event) |
boolean |
requiresPostCommitHanding(org.hibernate.persister.entity.EntityPersister persister) |
public void onPostInsert(org.hibernate.event.spi.PostInsertEvent event)
onPostInsert in interface org.hibernate.event.spi.PostInsertEventListenerpublic void onPostUpdate(org.hibernate.event.spi.PostUpdateEvent event)
onPostUpdate in interface org.hibernate.event.spi.PostUpdateEventListenerpublic void onPostDelete(org.hibernate.event.spi.PostDeleteEvent event)
onPostDelete in interface org.hibernate.event.spi.PostDeleteEventListenerpublic void onPreUpdateCollection(org.hibernate.event.spi.PreCollectionUpdateEvent event)
onPreUpdateCollection in interface org.hibernate.event.spi.PreCollectionUpdateEventListenerpublic void onFlushEntity(org.hibernate.event.spi.FlushEntityEvent event)
throws org.hibernate.HibernateException
onFlushEntity in interface org.hibernate.event.spi.FlushEntityEventListenerorg.hibernate.HibernateExceptionpublic boolean requiresPostCommitHanding(org.hibernate.persister.entity.EntityPersister persister)