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.
build 20070107091900 -create j2se application -create entity classes from db -ERROR: wizard generates only plain classes with construtcor -EXCEPTION: Caused by: java.lang.IllegalArgumentException: Type javax.persistence.Entity cannot be found -WORKAROUND: add TopLink library on the project classpath
Created attachment 37212 [details] IAE
Passing to Andrei. A similar problem exists very likely in the standard entity class wizard as well, I'll file a separate issue for that.
duplicate of issue 75948?
Don't think so, issue 75948 didn't cause the generation to fail in 5.5.
Fixed. Worked around issue 92237; the workaround should be removed when that issue is fixed. Checking in src/org/netbeans/modules/j2ee/persistence/provider/ProviderUtil.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/provider/ProviderUtil.java,v <-- ProviderUtil.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Bundle.properties; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Bundle.properties,v <-- Bundle.properties new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/EntityClassesPanel.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/EntityClassesPanel.java,v <-- EntityClassesPanel.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/JavaPersistenceGenerator.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/JavaPersistenceGenerator.java,v <-- JavaPersistenceGenerator.java new revision: 1.10; previous revision: 1.9 done
v