1.Again, notice that GORM allows you to think in terms of objects instead of primary or foreign keys.
同样地,我们注意到GORM也允许您从对象而不是主键或外键的角度来思考。
2.GORM helps mitigate the leaky-abstraction problem by allowing you to represent your object model in a way that makes sense in Groovy.
GORM有助于缓解抽象泄漏问题,它支持使用对Groovy有意义的方式表示对象模型,由GORM在幕后处理关系数据库的问题。
3.In " GORM: Funny name, serious technology, " you were introduced to the basics of GORM, including simple one-to-many relationships.
“精通Grails:GORM-有趣的名称,严肃的技术”向您介绍了GORM的基础知识,包括简单的一对多关系。
4.Later, in " Many-to-many relationships with a dollop of Ajax, " you used GORM to model increasingly sophisticated class relationships.
之后的“使用Ajax实现多对多关系”教您使用GORM建模越来越复杂的类关系。
5.Recall that GORM is a thin Groovy facade over Hibernate, so it shouldn't surprise you that all of your old Hibernate tricks will still work.
回忆一下,GORM是一个优于Hibernate的瘦Groovyfacade,因此,那些古老的Hibernate技巧仍然奏效也不足为奇。
6.If you provide a couple of specially named fields (lastUpdated and dateCreated), GORM automatically timestamps the class.
如果你提供了一对特别命名的字段(lastUpdated与dateCreated),GORM就会自动为类增加时间戳。
7.GORM events customization include the registration of events that get fired when certain events such as deletes, inserts and updates occur.
GORM事件的定制包括事件的注册,在删除、插入及更新发生时会触发这些事件。
8.Grails recently released version 0. 5, with improved performance, custom URLs, enhancements to GORM and more.
Grails最近发布了0.5版本,该版本包括了性能的提高,自定义URL,增强GORM等一些特点。
9.When GORM adds a publisher_id field to the book table, you have a 1: m relationship between the two tables.
当GORM向book表添加一个publisher_id字段时,就在两个表之间建立了一个1:m关系。
10.If you provide a couple of specially named fields, GORM automatically timestamps your class, as shown in Listing 15
如果您提供几个特别的命名字段,GORM会自动给它们添加时间戳,如清单15所示