public interface PostInsertEventListener extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
onPostInsert(PostInsertEvent event) |
boolean |
requiresPostCommitHanding(EntityPersister persister)
Does this listener require that after transaction hooks be registered? Typically this is
true
for post-insert event listeners, but may not be, for example, in JPA cases where there are no callbacks defined
for the particular entity. |
void onPostInsert(PostInsertEvent event)
boolean requiresPostCommitHanding(EntityPersister persister)
true
for post-insert event listeners, but may not be, for example, in JPA cases where there are no callbacks defined
for the particular entity.persister
- The persister for the entity in question.true
if after transaction callbacks should be added.Copyright © 2017 JBoss by Red Hat. All rights reserved.