May be a basic question..
I am doing
MyDomain.dirtyPropertyNames.each {
aInstance.oldVal = newDomainObject.getPersistentValue(it)
aInstance.newVal = ? // how to get the property value here from the list obviously MyDomain.it doesnt work..
aInstance.save()
}
The dirtyPropertyNames is a list of Property name Strings, how do I get the Domain.property of each property in the list?
Thanks
Does
Do what you want?