Re: JPA PreUpdate fired "without" changes


Andy
 
Edited

An object is not "made dirty" when setting a field to the same value ... except if the value is a floating point / double (aka imprecise) value.
NucleusJPAHelper.getObjectState(obj) defines the state at any time.

Join main@datanucleus.groups.io to automatically receive all group messages.