You can also create a primary key class for entities that have composite keys.
还可以为具有组合键的实体创建一个主键类。
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中合法值类型的类。
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主键的值构建的主键类使得把主键指定为一个单独的实体很容易。
The use of the class as the primary means of abstraction is key to object-oriented framework design.
作为抽象的主要方法,类的使用在面向对象框架设计中是很关键的。
To convert an existing column into a primary key, click on the column (property in the class) in the diagram.
要转换一个已有的列成为一个主键,在图中点击这个列(类中的属性)。
For example, getting rid of the leaky primary key that shows up in the combo box is as easy as adding a toString method to the Airline class, as shown in Listing 6.
例如,如果想消除显示在组合框中的主键的泄漏,只要在airline类中添加toString方法就可以,如清单6所示。
An Entity class needs a primary key.
Entity类需要一个主键。
The key class contains the unique primary key implementation for the bean.
该键类包含bean的唯一主键实现。
Also, notice how the primary key and foreign key properties represent the relationships on the Deals on Wheels class diagram.
此外,注意主键和外来键属性是怎样表达车辆调度类图的关系的。
The table must match the definition of your attributes; for example, the primary database key for the equations table must be the primary key of the Persistent class as well.
表必需与属性定义匹配,例如,等式表的主数据库键必须也是 Persistent类的主键。
However, in this class 'pkey' is a primary key of the event EJB, and the method returns an Enumeration of clients attending a particular event.
然而在该类中,' pkey '是EventEJB的主键,该方法返回参加特定活动的客户的枚举列表。
Lines 41-54 shows how the primary key is created from an EPR by making use of the EPRHelper utility class, included in the WASv5WSAExtensions.jar library.
第41 - 54行说明了如何通过使用包含在WASv5WSAExtensions . jar库中的EPRHelper实用类来从epr创建主键。
The find method requires you to know the primary key as well as the actual class type.
find方法要求您知道主键和实际类的类型。
After an XMLToSQL is created, primary key columns and target columns are set. The following sample class illustrates these steps.
XMLToSQL创建完后,就可以设置主键列和目标列了。
The name attribute defines the foreign key on the table to which the Customer class is mapped, and the referenced column defines the primary key to which the table CustomerOrder is mapped.
名称属性在customer类映射到的表上定义外键,参考列定义Table CustomerOrder映射到的主键。
For an entity class, at least one member must have this attribute and should be mapped to the primary key or a unique key in the corresponding table or view.
对于实体类,必须至少有一个成员具有此特性,并应映射到相应表或视图中的主键或唯一键。
For an entity class, at least one member must have this attribute and should be mapped to the primary key or a unique key in the corresponding table or view.
对于实体类,必须至少有一个成员具有此特性,并应映射到相应表或视图中的主键或唯一键。
应用推荐