GRAILS-10835 - improve resource mapping constraint handling
GRAILS-10835 - improve resource mapping constraint handling