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 - Add support for jar-file element in persistence.xml
Summary: Add support for jar-file element in persistence.xml
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 10:51 UTC by rgroot
Modified: 2016-07-07 08:55 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 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