You can find examples of one-to-one and many-to-many relationships in the online Grails documentation; see Resources.
在Grails的联机文档中,可以找到一对一和多对多关系的示例,请参阅参考资料。
These include one-to-one and one-to-many composition associations and many-to-one and many-to-many aggregation associations.
这些包括一对一和一对多构成关联,以及多对一和多对多的聚合关联。
If you have multiple types of records that are related to each other, you can define one-to-many, one-to-one, and many-to-many relationships as well.
如果您有多种彼此相关的记录,您也可以定义一对多、多对一、和多对多的关系。
JPA supports one-to-one, one-to-many, many-to-one, and many-to-many relationships.
JPA支持一对一、一对多、多对一和多对多关系。
JPA supports one-to-one, one-to-many, many-to-one, and many-to-many relationships.
JPA支持一对一、一对多、多对一和多对多关系。
应用推荐