Here we see that the mapping for Customer's Address field links the two halves of the relationship together with the foreign key reference in the table schema file.
这里我们看到Customer的Address字段映射用表模式文件中的外键引用将关系的两部分链接在一起。
A grid that allows the mapping of the columns in the current table to the primary key columns in the mapped table.
一个允许将当前表中的列映射到被映射表的主键列的表格。
In mapping terms, PERSON is the owner of the relation (i.e., the foreign key to the ADDRESS table resides in the PERSON table).
在映射的术语中,PERSON是此关系的所有者(即address表的外键存在于person表内)。
The column attribute specifies the column in the mapping table for the owning class that is used as the foreign key to the target class.
colum n属性指定当前类的映射表与目标类用作外键的列。
The <many-to-many> tag's column attribute specifies the foreign key column in the link table that relates the link table to the mapping table for the target class.
<many-to-many>标签中的column属性用来指定连接表与目标类的映射表链接的外键。
The <many-to-many> tag's column attribute specifies the foreign key column in the link table that relates the link table to the mapping table for the target class.
<many-to-many>标签中的column属性用来指定连接表与目标类的映射表链接的外键。
应用推荐