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 179011 - Consider libraries update after provider changes with persistence.xml editor
Summary: Consider libraries update after provider changes with persistence.xml editor
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-23 13:38 UTC by digitalrinaldo
Modified: 2016-07-07 08:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description digitalrinaldo 2009-12-23 13:38:31 UTC
I started using TopLink, I wanted to compare performance to Hibernate since inserts are taking several seconds each. When I edit my persistence.xml file, it shows an option to change to hibernate. When I select hibernate and build. It sill builds with toplink.
Comment 1 Sergey Petrov 2010-10-26 10:24:47 UTC
What I see, library isn't added after provider change with persistence.xml visual editor, is it your probem?
Comment 2 Sergey Petrov 2010-12-13 10:47:02 UTC
No details so far. 
As I see it it's by design, but yes it's some kind of limitation so keep as p4 for now, if switching will add new library, it's necessary to decide what to do with old libraries if it safe to delete or not but if not to delete it may cause different conflicts on classpath etc. It may have sense to allow it only manually to remove old, add new library.
Current design library is added only on pu creation and isn't added/removed/changed on pu update.
Comment 3 Martin Balin 2016-07-07 08:53:44 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