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.
Hello, It would be a big help to those who implement real world JPA applications if NetBeans were to add support for Entity inheritance to the Entity Class... wizard. Currently one has two choices in implementing the boiler plate for inherited entity: 1) Either modify the NetBeans generated skeleton code produced by New -> Entity Class... wizard to remove any code generated for primary key, and to reimplement the semantics for hashcode(), equals(), and toString() methods. 2) Or not use NetBeans at all and write all the boiler plate for inherited entity Personally, I think 2) is better than 1). Ideal would be support of this use case by IDE. Do let me know if I can be of further help. Thanks and regards, Rima.
I think it is a good idea to add support for inheritance in the wizard, thanks for bringing this up. Unfortunately it is too late to do that for 6.0 though, so I'm setting the TM to future.
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