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

Summary: JPA classes are not on classpath when using persistence
Product: serverplugins Reporter: Petr Jiricka <pjiricka>
Component: WebLogicAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

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.