Download Oracle9iAS TopLink Troubleshooting Guide

Transcript
b10068.book Page 6 Wednesday, September 4, 2002 4:10 PM
Error Messages
No object type is selected.
You created an object type mapping, but did not select an Object Type on the
mapping’s General tab.
No object-type mappings have been specified.
For object-type mappings, you must specify at least one mapping (Database Value
and Object Value) on the mapping’s General tab.
No primary key(s) specified in [table name] table.
You must specify a primary key for each database table. When importing tables
from a database into the Mapping Workbench, the primary key information will be
retained only if the JDBC driver supports the getPrimaryKeys() method.
Ensure that a primary key is specified for each descriptor on the Descriptor Info
tab.
Not all query key associations have foreign key fields specified.
You must specify a foreign key field for each query key association on the Query
Key Assocations tab for variable one-one mapping.
No query key associations have been defined.
You created a variable one-to-one mapping, but did not define a key pair on the
mapping’s Query Key Association tab.
No reference descriptor is selected.
You must select a Reference Descriptor for each relationship mapping on the
mapping’s General tab.
No relation table is selected.
You created a many-to-many mapping, but did not specify a Relation Table on the
mapping’s General tab. The relation table represents the relation between the
primary keys of the source and target table.
No sequence field name is selected.
If you select Use Sequencing on a descriptor’s Descriptor Info tab, you must also
specify a Name, Table, and Field.
3-6
Oracle9iAS TopLink Troubleshooting Guide