GRAILS-10741 - readOnly attribute of @Resource not working

http://jira.grails.org/browse/GRAILS-10741