Adding state to JPA entity fields
I’m using Spring Boot with Hibernate and have an entity containing various kinds of fields:
How to save data change history modified with JPA saveAll using Hibernate CustomEventListener
We are implementing the data change history function using Hibernate CustomEventListener. Detects when values are modified through JPA’s save or saveAll through PostUpdateEventListener.