entitylisteners
How to audit JPA without Hibernate Envers
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[详细]
2023-04-12 15:12 分类:问答How to access oldObject and newObject with Entity listeners and Callback methods
I\'m logging all the changes made to my objects in the DB. @PostPersist public void logPostPersist(Object object) {[详细]
2023-03-07 17:38 分类:问答Using Hibernate/JPA Event Listener to update one entity when other entities are updated
I have three entities in my system - one of which must be updated when fields on the other two are changed:[详细]
2023-01-18 17:42 分类:问答How to check if form elements are not empty?
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:[详细]
2022-12-23 02:51 分类:问答