Может быть основной вопрос.. Я делаю
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()
}
dirtyPropertyNames — это список строк имен свойств, как мне получить Domain.property каждого свойства в списке?
Спасибо