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 90607 - new Entity Class is not created properly
Summary: new Entity Class is not created properly
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on: 90343 91265 91266 91675 92325
Blocks:
  Show dependency tree
 
Reported: 2006-12-05 17:09 UTC by Jan Horvath
Modified: 2007-04-19 15:40 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 Jan Horvath 2006-12-05 17:09:36 UTC
build 061205

-create web application
-start new Entity Class wizard
-enter some package name, create PU
-click finish
-ERROR: finish button is disabled and wizard is still present until I press cancel
              only empty class with constructor is created
Comment 1 Erno Mononen 2006-12-05 17:18:12 UTC
I'll take a look at this.
Comment 2 Lukas Jungmann 2006-12-06 09:59:54 UTC
BTW: the same applies also for Java SE project...
Comment 3 Erno Mononen 2006-12-06 14:44:51 UTC
Fixed in trunk.

Checking in src/org/netbeans/modules/j2ee/persistence/wizard/entity/
EntityWizard.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/entity/
EntityWizard.java,v  <--  EntityWizard.java
new revision: 1.5; previous revision: 1.4
done
Comment 4 Jan Horvath 2006-12-18 13:49:26 UTC
I can still reproduce this in build 200612171900
Comment 5 Erno Mononen 2006-12-18 14:11:28 UTC
Yes, I also noticed that it doesn't work anymore. Apparently there has been 
some change in the java infrastructure quite recently, this does work in a 
build from 7th Dec.
Comment 6 Erno Mononen 2007-01-11 12:17:34 UTC
Now that issue 91265 has been fixed, this almost works.. unfortunately there 
are still some other issues, namely that the javadoc for the constructor (from 
the java class template) is added to the id field as well and the first member 
in the generated class is not intended properly. These issues are present in 
other wizards also, likely the problem is in the java infrastructure. 
Comment 7 Erno Mononen 2007-04-19 15:40:37 UTC
Should be fixed now.