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.
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.
Created attachment 70309 [details] The sql script with which to create the table
Created attachment 70310 [details] Generated java form code
Created attachment 70311 [details] The form file
Created attachment 70312 [details] Generated entity
Created attachment 70313 [details] Generated PK file
The situation gets even worse when a foreign key is involved. I can provide you with a sample of that as well if necessary.
*** This issue has been marked as a duplicate of 105084 ***