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: [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

Reply via email to