In our application, we use a graph persistence library which do not implement JPA entity listeners behaviours. In other words, a method annotated with @PrePersist will never be called.
As we discovered the need for such a behaviour, I would like to know if there is a java library that could ease things a little … as an example by returning me a list of objects/methods that need to be called as @PrePersist elements. Do you know such libraries ?
You can try Reflections