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 148018 - MD Forms for Composite PK's not correct
Summary: MD Forms for Composite PK's not correct
Status: RESOLVED DUPLICATE of bug 105084
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: Other Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-23 12:30 UTC by bennyv
Modified: 2008-09-23 14:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The sql script with which to create the table (498 bytes, text/plain)
2008-09-23 12:32 UTC, bennyv
Details
Generated java form code (18.34 KB, text/plain)
2008-09-23 12:33 UTC, bennyv
Details
The form file (15.73 KB, text/plain)
2008-09-23 12:34 UTC, bennyv
Details
Generated entity (5.93 KB, text/plain)
2008-09-23 12:34 UTC, bennyv
Details
Generated PK file (2.19 KB, text/plain)
2008-09-23 12:35 UTC, bennyv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bennyv 2008-09-23 12:30:18 UTC
When I generate a Master/Detail Form for a table with a composite primary key, the primary key fields are not taken into
account in the generated screen (Both Master and Detail).
Steps taken:
- Create Master/Detail Form (New master/detail sample form)
- In the table selection part enter a table which has a composite primary key (will attach an SQL script).
- Detail Area as Textfields.
- The generated form only shows the non-primary key fields (will attach the code).
My environment:
Netbeans 6.5 build 200809220201 on WXP SP3. Database Oracle 10.2.0.3.
Comment 1 bennyv 2008-09-23 12:32:37 UTC
Created attachment 70309 [details]
The sql script with which to create the table
Comment 2 bennyv 2008-09-23 12:33:39 UTC
Created attachment 70310 [details]
Generated java form code
Comment 3 bennyv 2008-09-23 12:34:32 UTC
Created attachment 70311 [details]
The form file
Comment 4 bennyv 2008-09-23 12:34:58 UTC
Created attachment 70312 [details]
Generated entity
Comment 5 bennyv 2008-09-23 12:35:25 UTC
Created attachment 70313 [details]
Generated PK file
Comment 6 bennyv 2008-09-23 12:36:42 UTC
The situation gets even worse when a foreign key is involved. I can provide you with a sample of that as well if necessary.
Comment 7 Jan Stola 2008-09-23 14:32:46 UTC

*** This issue has been marked as a duplicate of 105084 ***