I use EntityListeners ( @PreUpdate) to perform certain actions after changing the entity. However, I noticed that changes to the collection inside the object do not start the JPA entity listener, this makes sense because the table containing the object was not changed, but the table with many tables was.
Is there a way to make the listener fire in case the collection changes?
source
share