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 generating entity classes from an existing database, the current UI allows the user to customize the names of the entity classes that are created (although it uses a table widget that has very poor usability -- you can't insert a cursor inside the name of the classes and use normal string editing capabilities). It would be useful to allow the same sort of option to override the names of generated JavaBeans properties for each of the columns in each of the classes to be generated.
In addition to allowing an override of the property name, it might also be worth offering the user a chance to change the type of the property as well. Two example use cases: * Derby doesn't currently support a BIT data type, but I'd like to create a boolean property (so that it can easily be visualized by a checkbox). Closest I can come is a SMALLINT, which the generated code interprets to mean one of the integer types. * For a Derby column of type TIMESTAMP, the generator uses java.util.Date. I'd like to be able to change that before the code gen actually occurs.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss