不过它们都需要将用于主键的字段单独放在一个主键类 (primary key class) 里面,并且该主键类必须重写 equals () 和 hashCode () 方法,必须实现 Serializable 接口,必须拥有无参构造函数。
基于32个网页-相关网页
Primary Key Class 主键的所有组成字段在一个类中 Example Class 用于生成动态where条件的类 ..
基于1个网页-相关网页
primary key class
主键类
以上为机器翻译结果,长、整句建议使用 人工翻译 。
You can also create a primary key class for entities that have composite keys.
还可以为具有组合键的实体创建一个主键类。
youdao
Version 2.0 of the EJB specification defines a primary key class as any class that is a legal value type in RMI-IIOP.
EJB 规范的 2.0 版将主键类定义成任何是 RMI-IIOP 中合法值类型的类。
应用推荐
模块上移
模块下移
不移动