Skip Headers

# Relational Projects

Previous

Next

Use `ClassDescriptor` method `addPrimaryKeyFieldName` to specify the primary key field of the descriptor's table. This should be called for each field that makes up the primary key of the table.

If the descriptor has more than one table, and all other tables have the same primary key, use the `ClassDescriptor` method `addPrimaryKeyFieldName` to specify the the primary key in the first table.

If the descriptor has more than one table, and each table has a different primary key, use `ClassDescriptor` method `addMultipleTablePrimaryKeyFieldName` to map the primary key field names in each table.