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 269219 - Persistence library can be created but not selected
Summary: Persistence library can be created but not selected
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Sergey Petrov
Depends on:
Reported: 2016-12-02 22:18 UTC by Peter Nabbefeld
Modified: 2016-12-02 22:18 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 Peter Nabbefeld 2016-12-02 22:18:21 UTC
In the Design view of persistence.xml editor, You can add a new persistence library, but it's not possible to use it.

1. I've created a DataNucleus library from jar files.
2. I tried to select it in the drop down list; even restarted NB, without any effect.

Also, e.g. for Hibernate there may be multiple providers, which should be selectable.

IMHO, it would be best to check for META-INF/services/javax.persistence.spi.PersistenceProvider and add implementations to the drop down list. (I'd prefer not to use lookup at this point, because of issue #269101)