Key property

At least one simple attribute in each business object must be specified as the key. To define an attribute as a key, set this property to true.

Important:
The connector does not support specifying an attribute that represents a child business object or an array of child business objects as a key attribute.

If the key property is set to true for a simple attribute, the connector adds that attribute to the WHERE clause of the SELECT SQL statement that it generates while processing the business object.

To maximize performance, it is recommended that you provide data for as many key fields as possible.

To retrieve a child business object or children from an array of business objects, the connector uses foreign keys in the WHERE clause of the SELECT statement. It does not use the Key property of attributes in child business objects. For information on how to specify an attribute in a child business object as a foreign key, see "Application-specific information for simple attributes".

Copyright IBM Corp. 1997, 2004