Grails: field access with GORM

亡梦爱人 提交于 2019-12-05 13:52:23

It's not directly supported but will be in 1.4. For now you can enable it with a custom Configuration subclass as described at http://grails.1312388.n4.nabble.com/GORM-setting-access-quot-field-quot-td1592837.html#a1594428

I did a small post about subclassing Configuration with links to specific examples at http://burtbeckwith.com/blog/?p=465

I suggest this is due to how groovy implements Beans convention therefore not something that can be configured for GORM.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!