Grails 1.1正式发布了,期待了很久! 1.1的新特性: 1) GORM已经从Grails中脱离出来了。因此,你可以使用它在你自己的Groovy项目中。 2) 更多的GORM事件支持,如afterInsert, afterUpdate and afterDelete。 3) hasMany支持基本类型,如String。 4) 对象只读访问。
def book = Book.read(1)
grails install-plugin webtest -global
Grails 1.1正式发布了,期待了很久! 1.1的新特性: 1) GORM已经从Grails中脱离出来了。因此,你可以使用它在你自己的Groovy项目中。 2) 更多的GORM事件支持,如afterInsert, afterUpdate and afterDelete。 3) hasMany支持基本类型,如String。 4) 对象只读访问。
def book = Book.read(1)
grails install-plugin webtest -global
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。