No documentation for Hibernate PostActionEventListener? #47930
Replies: 2 comments 1 reply
-
/cc @gsmet (hibernate-orm) |
Beta Was this translation helpful? Give feedback.
-
Hello @thomaswiradikusuma, Hibernate
That would be the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to log UPDATEs for a certain table after committed to DB. From googling, it seems that I need to use
PostUpdateEventListener
.I understand I can use
@PersistenceUnitExtension
to register anInterceptor
( https://quarkus.io/guides/hibernate-orm#interceptors ). But how do I register Hibernate listeners? Or is Interceptor suitable for my purpose? (It's not clear from Hibernate documentation which method to override for "listen to changes after UPDATE is committed to DB")Beta Was this translation helpful? Give feedback.
All reactions