public class EnversPostInsertEventListenerImpl extends BaseEnversEventListener implements PostInsertEventListener
Constructor and Description |
---|
EnversPostInsertEventListenerImpl(org.hibernate.envers.boot.internal.EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
void |
onPostInsert(PostInsertEvent event) |
boolean |
requiresPostCommitHanding(EntityPersister persister)
Does this listener require that after transaction hooks be registered?
|
default boolean |
requiresPostCommitHandling(EntityPersister persister)
Does this listener require that after transaction hooks be registered?
|
checkIfTransactionInProgress, generateBidirectionalCollectionChangeWorkUnits, getEnversService
public EnversPostInsertEventListenerImpl(org.hibernate.envers.boot.internal.EnversService enversService)
public void onPostInsert(PostInsertEvent event)
onPostInsert
in interface PostInsertEventListener
public boolean requiresPostCommitHanding(EntityPersister persister)
persister
- The persister for the entity in question.true
if after transaction callbacks should be added.public boolean requiresPostCommitHandling(EntityPersister persister)
persister
- The persister for the entity in question.true
if after transaction callbacks should be added.Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.