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.
Steps to reproduce: 1. Create a web project and run Entity Classes from Database. 2. Select jdbc/sample resource and select Customer and DiscountCode tables and generate the code. Open Customer.java and notice that there are discountCode and discountCode1 generated. This is a regression.
Don't see the problem in a build from 080728. Will check in the latest code base.
It turns out my sample database tables all had duplicate foreign keys. I don't know how it got to that states but with the sample database from the latest build, this issue no longer exists. I am closing it.