I need to make an audit module to my Java Web App. I use EclipseLink, not Hibernate (can\'t use Envers). I searched a lot some way to get the SQL or JPQL that JPA is executing, so I could log somethin
I\'m logging all the changes made to my objects in the DB. @PostPersist public void logPostPersist(Object object) {
I have three entities in my system - one of which must be updated when fields on the other two are changed:
How can I chec开发者_高级运维k if all the elements inside a form \"textbox, checkbox, textarea, select, file\" are not empty? You can see if any are empty like this: