This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 155144 - Primary key of a table should be marked in appropriate way
Summary: Primary key of a table should be marked in appropriate way
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 14:50 UTC by Roman Mostyka
Modified: 2012-12-02 20:04 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-12-10 14:50:38 UTC
When a user expand a table node, it should be possible to see what column is a primary key of this table.
We can do it with some additional symbols against this column, like (pk) for example.
For example column "id" is the primary key and we can show "id     (pk)" in the DB explorer tree.
Then when user expands table, it is clear that "id" is the primary key of this table.
Comment 1 Jiri Rechtacek 2009-10-16 14:03:31 UTC
Reassigned to new owner.
Comment 2 matthias42 2012-12-02 20:04:11 UTC
This works in netbeans 7.2: The icon marks the primary key columns with a different color highlight (normal color blue, primary key is marked red).