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 148741

Summary: It is possible to check "Index", "Null", "Unique" checkboxes simultaneously
Product: db Reporter: Roman Mostyka <romanmostyka>
Component: CodeAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152581    

Description Roman Mostyka 2008-09-30 13:47:04 UTC
1. Connect to some DB, rightclick "Tables" node and choose "Create Table...".
2. Check "Index", "Null", "Unique" checkboxes and press "OK".

Result: Table with such column can't be created. When customer checks "Unique" checkbox, "Index" checkbox becomes
checked automatically, similar behavior for "Key" and "Null" checkboxes. The same should be for this issue.
Comment 1 Jiri Rechtacek 2009-02-10 15:32:12 UTC
Reassigned to new owner.
Comment 2 Jiri Skrivanek 2009-06-23 15:02:40 UTC
A unique column allows multiple NULL values for some databases. Try MySQL.
Comment 3 Quality Engineering 2009-06-24 07:30:51 UTC
Integrated into 'main-golden', will be available in build *200906240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b297395ed1c3
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #148741 - Fixed formatting for better readability and primaryKeys.remove called only when primary key property is changing to false. Semantically nothing changed.