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 185437 - JPA classes are not on classpath when using persistence
Summary: JPA classes are not on classpath when using persistence
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 14:10 UTC by Petr Jiricka
Modified: 2010-05-05 12:50 UTC (History)
0 users

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 Petr Jiricka 2010-05-04 14:10:23 UTC
1. Create a new Java EE 5 project with WebLogic 10.3.3.0 as the target server.
2. Create some entity classes from database (e.g. using the sample Derby database that GlassFish provides)
3. Open one of the generated entities in the editor

You will see there are lots of errors in the code, due to javax.persistence classes not being on the classpath. The workaround is to add TopLink or EclipseLink library on the classpath (with Package checkbox turned off).
Comment 1 Petr Hejl 2010-05-05 12:50:17 UTC
Fixed in web-main c91dfff05ae8.