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 246892 - generate entities from database does not show failure
Summary: generate entities from database does not show failure
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 10:26 UTC by vdtoorn
Modified: 2016-07-07 08:54 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 vdtoorn 2014-09-05 10:26:36 UTC
I've been having some problems with a faulty database schema (i.e. a table got the same name in the Entity classes since one table used camel case and the other used an underscore)
The generator apparently failed that moment and generated only half the complete classes and the other half were just empty (except for the class name and curly braces.
There was, however, no feedback of the failure and the wizard appeared to have completed without problems. This made it hard to debug the problem.

It would be good that if the generator has problems, it reports them and the reason of these problems.
Comment 1 Sergey Petrov 2014-09-06 07:37:48 UTC
unfortunately current jpa support do not recignize/work properly with case sensitive db/db settings. there are few issues related already.
Comment 2 Martin Balin 2016-07-07 08:54:00 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss