Grails 1.1正式发布了,期待了很久!
1.1的新特性:
1) GORM已经从Grails中脱离出来了。因此,你可以使用它在你自己的Groovy项目中。
2) 更多的GORM事件支持,如afterInsert, afterUpdate and afterDelete。
3) hasMany支持基本类型,如String。
4) 对象只读访问。
def book = Book.read(1)
5) 在类级别支持排序。
6) 全局插件。
grails install-plugin webtest -global