Listing 9 shows a simple one-to-many relationship using a Map.
清单9显示了一个使用Map的简单的一对多关系。
The one-to-many relationship exists in the element called details.
一对多关系存在于称为 details的元素中。
In this case, the passport will hold a one-to-many Numbers of visas.
在这种情况下,passport包含多个visa。
One-to-one and one-to-many associations are handled by this relation as well.
这一关联还处理一对一和一对多关联。
And as you can see, a one-to-many relationship exists between User and Entry.
正如您所见,User和Entry之间存在着一对多的关系。
It may also aggregate and disaggregate messages in a one-to-many relationship.
它还可以对一对多关系中的消息进行聚合和反聚合。
JPA supports one-to-one, one-to-many, many-to-one, and many-to-many relationships.
JPA支持一对一、一对多、多对一和多对多关系。
How do I represent a one-to-many, or many-to-many, relationship between two classes?
怎样表示两个类之间一对多或多对多的关系?
A one-to-many association is specifically mapped to a foreign key in the "many" table.
一个一对多关联被映射到“many ”表的一个外键。
Each one-to-many association is buried as a foreign key in the table of the many class.
每个一对多的关联在表中多个类中充当外键。
One-to-one relationships and one-to-many relationships are implemented using a foreign key.
一对一关系和一对多关系使用一个外键来实现。
The ratio of use cases to test cases will be one-to-many for the Function Verification test.
对于功能验证测试,用例与测试用例的比率将是一对多。
A one-to-many relationship needs to be included between the subscription and subject models.
订阅与主题模型之间需要包括一个一对多关系。
This can be used to represent a one-to-one or one-to-many relationship between elements.
这可以用于表示元素之间的一对一或一对多关系。
If the association can be one-to-one, one-to-many or many-to-one, don't use many-to-many.
如果可以用one - to - one、one - to - many或many - to - one的关联,就不要使用many - to - many。
If one publisher can "have" multiple books in this way, it's called a one-to-many relation.
如果一个出版商可以通过这种方式“持有”多本书籍,就称之为一对多关系。
This is called a one-to-many relationship: one airline can have many trips associated with it.
这称为一对多关系:一个航线能够与多个旅行关联。
In this way, I set up a one-to-many relationship between accounts and their various locations.
这样,我在account与它们的各种location之间设置了一对多关系。
The second is pojoA has one-to-many associations with many other POJOs such as pojoB and pojoC.
第二种场景,pojoA和很多其他POJO有one-to-many关联,例如pojoB和pojoC。
Note: The Relational DAS assumes that all containment relationships are cardinality one-to-many.
注意:关系型DAS假定所有包容关系都是一对多的二元关系。
Here, you'll focus on one-to-one and one-to-many multiplicities, which you'll handle as a single case.
这里你将集中于一对一和一对多的多重性,你将把它们作为单一的用例处理。
Figure 2 shows the one-to-many relationship between ORDER and ORDER_ITEMS tables used for this scenario.
图2显示了这个场景使用的ORDER和order_items表之间的一对多的关系。
Each user subscription can include a few preferred subjects (for example, a one-to-many relationship).
每项用户订阅可以包括一些偏好的主题(例如一对多关系)。
In the case of one-to-many relations, your transformation creates a foreign key in every "many" table.
在一对多关联的情况下,你的转换在所有“ many ”表中建立了一个外键。
You can have a one-to-one relationship between a single unit of your content or a one-to-many relationship.
在每个内容单元中,您可以使用一对一的关系,也可以使用一对多的关系。
The publish/subscribe message pattern to provide one-to-many message distribution and decoupling of applications
使用发布/订阅消息模式,提供一对多的消息发布,解除应用程序耦合。
I'll start by describing what an object-relational mapper (ORM) is and how to create a one-to-many relationship.
我将首先介绍什么是对象关系映射器(object - relationalmapper,ORM),以及如何创建一对多关系。
The relationship between these types of objects is one-to-many, where each policy can have one or more route objects.
这些对象类型之间的关系是“一对多”,即每个策略可以拥有一个或多个路由对象。
The only way to scale is to move to a one-to-many model that includes the number of user identities in each application.
唯一获得可伸缩性的方法是变换成单对多模型,在每个应用里保存多个用户身份。
As you can see, the database is quite straightforward: words have a one-to-many relationship with definitions and synonyms.
如您所见,这个数据库非常直观:word与definition和synonym具有一对多的关系。
应用推荐