public class ListenerExample { @PostLoad @PostPersist @PostUpdate public void actionFunction(Comment comment){
// When loading the object . System.out.println("Post load action "); // When persisting the object . System.out.println("Post persist action "); //When updating the values of the object System.out.println("Post update action ");