Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
11.2
-
None
-
None
-
Win 10, Java 11, MySQL 8, Payara 5.194
Description
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: