Kenneth Fogel created NETBEANS-3892:
---------------------------------------
Summary: Generated JPA Controller is empty if persistence.xml is
edited for container use
Key: NETBEANS-3892
URL: https://issues.apache.org/jira/browse/NETBEANS-3892
Project: NetBeans
Issue Type: Bug
Affects Versions: 11.2
Environment: Win 10, Java 11, MySQL 8, Payara 5.194
Reporter: Kenneth Fogel
Fix For: Next
When entities are created so is the persistence.xml file. If this xml file is
edited for use in a container such as Payara then calling upon NB to create JPA
Controllers from Entities results in empty classes. As the generated controller
needs nothing, as far as I can tell, from the persistence.xml then this
behaviour does not make sense.
This is Issue #3 in the document. Issue #2 shows what the persistence.xml
should be changed to for containers.
Here is the document:
[https://github.com/omniprof/NetbeansJPAControllerIssues/blob/master/JPAControllerFromEntitiesRevision.pdf]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists