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.
|Summary:||Persistence library can be created but not selected|
|Product:||javaee||Reporter:||Peter Nabbefeld <epdv>|
|Component:||Persistence||Assignee:||Sergey Petrov <sj-nb>|
|Issue Type:||DEFECT||Exception Reporter:|
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)