This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241733 - Non-portable persistence.xml with <provider>
Summary: Non-portable persistence.xml with <provider>
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Sergey Petrov
Depends on:
Reported: 2014-02-12 03:58 UTC by arungupta
Modified: 2014-02-13 02:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description arungupta 2014-02-12 03:58:29 UTC
Create a new Java EE 7 Web application
Target the application to GlassFish
Create a new Persistence Unit by right-clicking on project and selecting "New Persistence Unit"

The only Persistence Provider shown is "EclipseLink (JPA 2.1)(default)".

The generated persistence.xml has the following element:


This makes the application non-portable to other Java EE 7 compliant application servers, such as WildFly. There should be no need to define <provider> element as the container has an implementation-specific provider defined already.
Comment 1 Sergey Petrov 2014-02-12 10:06:05 UTC
can you update your nb profile to use new email?
Comment 2 Sergey Petrov 2014-02-12 12:17:34 UTC
Comment 3 Quality Engineering 2014-02-13 02:44:05 UTC
Integrated into 'main-silver', will be available in build *201402130001* on (upload may still be in progress)

User: Sergey B. Petrov <>
Log: #241733 check if properties are jpa standard