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:39:00 UTC

[jira] [Created] (NETBEANS-3893) New Option to Indicate that the persistence.xml is for a container

Kenneth Fogel created NETBEANS-3893:
---------------------------------------

             Summary: New Option to Indicate that the persistence.xml is for a container
                 Key: NETBEANS-3893
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3893
             Project: NetBeans
          Issue Type: New Feature
    Affects Versions: 11.2
         Environment: Win 10, Java 11, MySQL 8, Payara 5.194
            Reporter: Kenneth Fogel
             Fix For: Next


When entities are generated you have the option of having a persistence.xml file created. This xml file is meant for a non-container implementation of the JPA such as for a desktop application. I'd like to suggest that there should be the option of creating this file for a container. 

Some of the information for this xml needs to come from the glassfish-resources.xml file or equivalent for other application servers. Therefore generating this file at the same time may also be an option.

In my document under Issue #2 there is an example of a persistence.xml as created by NetBeans and another xml that shows what it might be for a container.

 

The document can be found at:

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