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 231440 - Maven-friendly support for additional persistence providers
Summary: Maven-friendly support for additional persistence providers
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-18 12:38 UTC by Petr Jiricka
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2013-06-18 12:38:44 UTC
It is currently not straightforward to use other persistence providers than those bundled in the IDE or those that come with the server, e.g. Hibernate 4.3 as a JPA 2.1 implementation. While after fixing bug 231192 it is possible to use Hibernate 4.3 as a JPA 2.1 implementation, the workflow is really suboptimal for Maven users:
1. Download and unzip Hibernate 4.3 (latest beta)
2. In the New Persistence Unit wizard, create a New Persistence Library for this Hibernate 4.3 installation (lib/required/*.jar, lib/jpa/*.jar)
3. After finishing the wizard, pom.xml will be modified - many "unknown.library" dependencies will be added - user needs to replace these with proper Maven coordinates.

It would be better if the IDE had the knowledge of Hibernate 4.3 out of the box, and used a proper Maven reference to it without the unnatural workflow above.
Comment 1 Martin Balin 2016-07-07 08:54:26 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss