使用此对话框将一个表中的主键映射到另一个表中的外键。
Use this dialog box to map a primary key in one table to a foreign key in another.
从这段代码中可以看出,它定义了如何将一个方法映射到一个特定的表和列上,并指定哪些列是主键、查找方法,等等。
You see that it defines how to map each method to a particular table and column and specifies which columns are primary keys, finder methods, and so on.
描述符也可以提供与注释相同的有关实体的元数据信息,如主键字段,以及对象之间的任何映射。
The descriptor can also provide the same metadata information about the entities as annotations, such as primary key field, and any mappings between objects.
应用推荐