Hi,
I'm new to java, I'm using netbeans, I create two tables, master table and detail table, detail table has a composite primary key, one of the primary key refer the master table's primary key, when I created a desktop application, the detail parts only show the columns which are not the primary key, after I finished the form, I can't insert any new record by pressing the 'New' key, so I created a dialog form for detail table, however, I don't know how to bind detail table primary key properly, when I run the code, the primary key of detail table always have null value.
anyone can help me to fix it?
thanks.
peter