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.
Summary: | Create Entity Class from Database fails on attached schema | ||
---|---|---|---|
Product: | javaee | Reporter: | Chris Webster <cwebster> |
Component: | Persistence | Assignee: | Erno Mononen <emononen> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
db schema file causing the issue
exception stack trace |
Description
Chris Webster
2007-04-24 03:00:04 UTC
Created attachment 41514 [details]
db schema file causing the issue
Created attachment 41515 [details]
exception stack trace
I'll take a look at this. I can't reproduce with the latest build nor with 6.0 M8 on JDK 6 / Linux. The generator has changed quite a bit since 5.5, so perhaps this has been fixed already. What is a bit strange is that the stack trace indicates that the generation failed when generating "DbLiteral" entity class, but I can't see any corresponding table in the attached schema - should it include such table? Also, please try if you can reproduce this with the latest build. This problem is not there in 6.0, this was encountered using 5.5. We added Db to all the generated class names in the last panel of the wizard, so the table in question is LITERAL. OK, thanks for the info. I'm closing this as fixed - if there will be 5.5.2, perhaps this issue should be considered to be fixed for it. |