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 81164 - Entity classes are being generated instead of CMP beans
Summary: Entity classes are being generated instead of CMP beans
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 14:12 UTC by Lukas Jungmann
Modified: 2006-07-26 14:55 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 Lukas Jungmann 2006-07-26 14:13:06 UTC
-have J2EE 1.4 EJB module with src level 1.4
-create CMP beans in it (eg from sample DB)

=> IDE creates persistence.xml and entity classes instead of J2EE 1.4 CMP entity
beans (such code is not compilable on JDK 1.4)
Comment 1 Andrei Badea 2006-07-26 14:19:51 UTC
Fixed. The persistence.xml issue is not related to the cause of this issue,
please file it separately.

Checking in
src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/RelatedCMPWizard.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/fromdb/Attic/RelatedCMPWizard.java,v
 <--  RelatedCMPWizard.java
new revision: 1.1.2.2.2.19; previous revision: 1.1.2.2.2.18
done
Comment 2 Lukas Jungmann 2006-07-26 14:55:55 UTC
v.

BTW: problem w/ persistence.xml was (somehow?) fixed too