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.
[ JDK VERSION : 1.5.0_06 ] Suppose following table: create table Issue ( IssueNo integer not null primary key, Subject varchar(100), Description varchar(4000), Reporter integer not null constraint fk_reporter referentes User (UserId), LastUpdateBy integer null constraint fk_lastUpdateBy references User (UserId) ) Actually, perssitence from db generates fields private Users users; private Users users1; for last two fields of the table. Better names is private Users reporter; private Users lastUpdateBy; (using column name as name of the field, not the referenced table).
Correcting subject: the problem appear on OneToMany mappings. ManyToOne and OneToOne are ok.
This is a dup of issue 98163 requesting for better cmr names *** This issue has been marked as a duplicate of 98163 ***