We are using Hibernate 5.2.17 in our project and populate the last modification date within a @PreUpdate entity callback. After a lengthy debugging session it seems like that when 1. Bytecode enhancement for lazy loading is active 2. Multiple entity fields are loaded lazily the changes done to the entity within the callback are not persisted on database level. PR for test case will be provided soon. |