Customizing detection change
- by mada
Hi,
I can now if a session contain any changes which must be synchronized with the database with
session.isDirty()
But i have a simple field (modification date) that i would like to be ignore by it.
Example: object Person( name,age,datemodification).
if i just modify the datemodification field i would like that session.isDirty() or othermethod like this to return false so at the end no sql update will occur.
Thanks in advance.
Regards