gorm

1. Again, notice that GORM allows you to think in terms of objects instead of primary or foreign keys.
同样地,我们注意到GORM也允许您从对象而不是主键或外键的角度来思考。

youdao

2. Grails recently released version 0.5, with improved performance, custom URLs, enhancements to GORM and more.
Grails最近发布了0.5版本,该版本包括了性能的提高,自定义url,增强GORM等一些特点。

youdao

3. If you provide a couple of specially named fields, GORM automatically timestamps your class, as shown in Listing 15.
如果您提供几个特别的命名字段,GORM会自动给它们添加时间戳,如清单15所示。

youdao

4. Rather than adding a foreign key to either the Book or Author table, GORM adds book_id and author_id to the BookAuthor join table.
GORM向BookAuthor 连接表添加 book_id和 author_id,而不是向Book或Author 表添加一个外键。

youdao

5. Later, in "Many-to-many relationships with a dollop of Ajax," you used GORM to model increasingly sophisticated class relationships.
之后的“使用Ajax实现多对多关系”教您使用GORM建模越来越复杂的类关系。

youdao

6. In "GORM: Funny name, serious technology," you were introduced to the basics of GORM, including simple one-to-many relationships.
“精通grails:GORM -有趣的名称,严肃的技术”向您介绍了GORM的基础知识,包括简单的一对多关系。

youdao

7. 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在幕后处理关系数据库的问题。

youdao

8. 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技巧仍然奏效也不足为奇。

youdao

9. The next statement tells Grails that the table does not have a version column. (GORM normally creates one to help facilitate optimistic locking.)
下一条语句通知Grails表没有version列(GORM通常会创建一个 version列来优化乐观锁定)。

youdao

10. If you are dealing with legacy tables, you should disable this feature so that GORM won't disrupt the schema that other applications might be expecting.
因此,如果要处理遗留表的话,就一定要禁用该特性,这样GORM才不会破坏其他应用程序可能会用到的模式。

youdao

11. Now you'll see how the "ORM" in GORM has the flexibility to deal with table and column names in your legacy databases that don't follow standard GORM naming conventions.
现在您将看到GORM的“ORM”如何能够灵活处理遗留数据库中不符合Grails标准命名约定的表名与列名。

youdao

12. Next you instantiate the class, what creates a new object (the instance) in the Gorm main window, and you connect the outlets and the actions to the corresponding components.
下面,以这个组为例进行说明,这将在Gor m主窗口中创建一个新的目标,并且你可以将出口(Outlets)和行为关联到相应的部分。

youdao

13. Next you instantiate the class, what creates a new object (the instance) in the Gorm main window, and you connect the outlets and the actions to the corresponding components.
下面,以这个组为例进行说明,这将在Gor m主窗口中创建一个新的目标,并且你可以将出口(Outlets)和行为关联到相应的部分。

youdao