... 2.实体Bean 3.复合主键(Composite Primary Key) ·复合主键类的每个属性变量必须有getter/setter,如果没有,每个属性变量则必须是public或者protected ...
基于253个网页-相关网页
Multiple attributes in the entity may be combined to form a composite primary key.
实体中的多个属性可以组合成一个复合的主键。
You can adjust the primary-key creation strategy or even specify a composite primary key.
可以调整主键的生成策略,甚至指定复合主键。
You can also create a primary key class for entities that have composite keys.
还可以为具有组合键的实体创建一个主键类。
应用推荐