dirty-tracking

Grails 3.1.1 - Dirty checking not working when model class extends another groovy class

痴心易碎 提交于 2019-12-24 09:27:58
问题 I have a domain class which extends another groovy class with same name but in different package in a different library. The problem is when I modify instances on the domain class, it is not marked as dirty & hence changes are not persisted. I have read that grails 3 release has some enhancements to dirty checking & this could be a bug or I am missing something. New objects are saved properly without any issues, I have used isDirty() method on modified domain object as well as modified