联合主键类(composite key class)必须是可序列化(Serializable)的,并且必须实现Equals和GetHashCode方法顾名思义,。
基于12个网页-相关网页
Composite Primary Key Class 主键类
composite key class
组合键类
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Next up in Listing 2 is the @IdClass annotation, which defines the composite key class reference.
清单 2 中的下一个注释是 @IdClass,它定义组合键类引用。
youdao
You can also create a primary key class for entities that have composite keys.
还可以为具有组合键的实体创建一个主键类。
应用推荐
模块上移
模块下移
不移动