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: | JPA application does not run on WebLogic with TopLink provider because of the generated metamodel | ||
---|---|---|---|
Product: | javaee | Reporter: | Petr Jiricka <pjiricka> |
Component: | Persistence | Assignee: | Sergey Petrov <sj-nb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jlahoda |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Jiricka
2010-08-19 21:41:47 UTC
I was able to execute application with eclipselink removed from nb, so likely it can be fixed by splitting eclipselink library. fast fix I can push immediately is just remove modelgen jar, http://hg.netbeans.org/web-main/rev/3ab06bacb081 need to create separate library for modelgen now and add it for jpa2.0 cases automatically. > need to create separate library for modelgen now
Agreed, but let's put this new library to the same module (j2ee.eclipselink), please do not create a separate module for it.
http://hg.netbeans.org/web-main/rev/2f492acb7888 it may need additional adjustments, but now there are 2 libs, and it may help users to handle modelgen manually too, if they want metamodel generation no more need to remember ap classname and or/serach for jar, also easy to remove. in current realization modelgen jar is aumomatically added to processors classpath only and only for jpa2.0. Integrated into 'main-golden', will be available in build *201008210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3ab06bacb081 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #189697 - part fix, but also all should work now, model gen is remove, will be moved to separate library as second part of the fix |