I had an old Config.groovy:
grails.gorm.default.mapping = { id generator = 'identity' // send only the dirty fields to the database for updating dynamicUpdate = true dynamicInsert = true }
Therefore, I put this in the application.groovy application, but it will no longer be respected. All updates are complete, sending all fields to the database, not even changed.
I tried translating this into application.yml:
grails: gorm: default: mapping: id generator: "identity" dynamicUpdate: true dynamicInsert: true
... but still no luck.
source share