You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Kenneth Fogel (Jira)" <ji...@apache.org> on 2020/02/18 16:31:00 UTC

[jira] [Created] (NETBEANS-3892) Generated JPA Controller is empty if persistence.xml is edited for container use

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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists