还可以为具有组合键的实体创建一个主键类。
You can also create a primary key class for entities that have composite keys.
我们还使用由组成ejb主键的值构建的主键类使得把主键指定为一个单独的实体很容易。
We also use a primary key class, constructed from the values comprising the EJB primary key, to make it easy to specify the primary key as a single entity.
EJB 规范的 2.0 版将主键类定义成任何是 RMI-IIOP 中合法值类型的类。
Version 2.0 of the EJB specification defines a primary key class as any class that is a legal value type in RMI-IIOP.
应用推荐