GORM 全程是 Grails’ object relational mapping (ORM) 是 Grails 的 ORM 实现,基于 Hibernate 3.
示例代码:
def book = Book.findByTitle("Groovy in Action") book .addToAuthors(name:"Dierk Koenig") .addToAuthors(name:"Guillaume LaForge") .save()