Skip Headers

# Setting a Primary Key for Database Tables

Previous

Next

To set a primary key(s) for a database table, use this procedure:

Note: TopLink Workbench can automatically import primary key information if supported by the JDBC driver.

1. Select a database table in the Navigator. Its property sheet appears in the Editor.

2. Click the Columns tab.

3. Select the Primary Key field(s) for the table.

See Also

  Working With Database Tables in the Editor Window
  Working With Column Properties