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

Summary: Primary key of a table should be marked in appropriate way
Product: db Reporter: Roman Mostyka <romanmostyka>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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).