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.
Summary: |
JSF Pages From Entity Classes not working when using inheritance between JPA entities |
Product: |
javaee
|
Reporter: |
dheffelfinger <dheffelfinger> |
Component: |
JSF | Assignee: |
Alexey Butenko <alexeybutenko> |
Status: |
RESOLVED
WONTFIX
|
|
|
Severity: |
normal
|
|
|
Priority: |
P3
|
|
|
Version: |
6.x | |
|
Hardware: |
PC | |
|
OS: |
Linux | |
|
Issue Type:
|
ENHANCEMENT
|
Exception Reporter:
|
|
Attachments: |
Sample Project illustrating the issue
|
Created attachment 93671 [details] Sample Project illustrating the issue Create two JPA entities via the NetBeans wizard, then modify one to be child class of the other. NetBeans by default generates an ID attribute for each entity. If the id attribute is not deleted from the child class, then the "Generate JSF Pages from Entity Classes" generates an invalid JSF create page for the child class, Facelets complains about a duplicate component id.