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.
[Build 20050111] Let's have this database structure: CREATE TABLE TAB1 (KEY1 INTEGER NOT NULL, PRIMARY KEY (KEY1) ); CREATE TABLE TAB2 (KEY1 INTEGER NOT NULL, VALUE2 CHARACTER (10), PRIMARY KEY (KEY1), FOREIGN KEY (KEY1) REFERENCES TAB1(KEY1) ); This is simple 1:1 relationship. I generated CMP beans, the correct elements in DD was generated: <ejb-relationship-role> <ejb-relationship-role-name>Key1</ejb-relationship-role-name> <multiplicity>One</multiplicity> <relationship-role-source> <ejb-name>Tab1</ejb-name> ...... Then I go to the visual sun-ejb-jar.xml DD and open Cmp Mapping tab, there is <multilple> type for this relationship. I guess, that type isn't multiple, there should be type like Single or ..... See. attached screenshot
Created attachment 19597 [details] snapshot
The TYPE column is for jdbc type of database columns involved. Since all relationships involve at least a pair of columns in their key, this JTable column shows multiple for all relationships regardless of cardinality. This is according to the ui spec.
new / invalid ???