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 189392

Summary: Add support for jar-file element in persistence.xml
Product: javaee Reporter: rgroot
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description rgroot 2010-08-11 10:51:13 UTC
The normal (e.g. non-XML) editor for persistence.xml doesn't offer support for the jar-file element. Support for this would be nice if (like me) you put your JPA model classes in a separate JAR file / project.
Also, would be nice if NetBeans recognised this (e.g. detected my JPA model JAR is used by both an EJB project and Java SE app) and stopped complaining about not having a persistence.xml file in the JPA model project.
Comment 1 Martin Balin 2016-07-07 08:55:10 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