I've hit a blocker adding a fix to an existing project.the main problem is that i'll like to use
Now it seems that those interpreters are not been executed, with little search i found out that it's suitable using entityManager.
Yes, the JPA callbacks won't work if you're using the
So I'll like to know if is there a SIMPLE way around my problem, meaning having @PrePersist or @PreUpdate or even other workaround to set the lastModified field still using session
To my knowledge, there is no simple way around (if you're using Spring, MAYBE have a look at this post though).