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 138839 - Hibernate Reverse Engineering produces no class or mapping files
Summary: Hibernate Reverse Engineering produces no class or mapping files
Status: RESOLVED DUPLICATE of bug 140811
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Vadiraj Deshpande
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-02 17:24 UTC by tdruttenberg
Modified: 2008-09-17 23:16 UTC (History)
2 users (show)

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 tdruttenberg 2008-07-02 17:24:35 UTC
I am following the tutorial at http://wiki.netbeans.org/HibernateAndWebApp#section-HibernateAndWebApp-GettingStarted.

I'm up to the section entitled "Reverse Engineering (NetBeans 6.5)".

I am using the latest nightly build of NetBeans (07022008).  I did this with yesterday's build as well and got the same
result.

I followed the directions exactly several times.  When I click Finish it looks like something is happening, but all I
end up with is the hibernate.reveng.xml file.  The mappings do not show up in hibernate.cfg.xml.  Nor are any .java or
.hbm.xml files created.

Note I am connecting the mysql server 5.1 on a remote server.  It seems to find the tables with no problem. 

Is this feature supposed to be working?  
I'll be happy to test this/debug this with someone as I am very motivated to see this thing work.

tanya.ruttenberg@ssa.gov
Comment 1 scitronpousty 2008-09-17 19:26:19 UTC
I am seeing it here as well. Windows XP, netbeans 6.5 beta, and JDK6.Not10.
This should be considered a blocker since this feature was supposed to be THE hibernate enhancement in 6.5
Comment 2 scitronpousty 2008-09-17 21:49:43 UTC
Not working on the nightly build.
Here is what I have in help -> about

Product Version: NetBeans IDE Dev (Build 200809170201)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\scitronpousty\.netbeans\dev

This is currently holding up work on a project. Please fix ASAP
Comment 3 scitronpousty 2008-09-17 21:49:58 UTC
Not working on the nightly build.
Here is what I have in help -> about

Product Version: NetBeans IDE Dev (Build 200809170201)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\scitronpousty\.netbeans\dev

This is currently holding up work on a project. Please fix ASAP
Comment 4 scitronpousty 2008-09-17 22:22:07 UTC
BTW, I am trying this with a PostgreSQL database. I am not sure if that makes a difference. I am using the JDBC drivers
bundled with Netbeans. The IDE can see and query the database no problem, there is only problems with the reverse
engineering.
Comment 5 Jayashri Visvanathan 2008-09-17 22:28:49 UTC
Please see http://www.netbeans.org/issues/show_bug.cgi?id=140811. The fix for this issue is in progress. Meanwhile, you
can work around the problem by choosing the option to generate annotated POJOs. That should work. Please let us know if
you have issues with that. 
Comment 6 scitronpousty 2008-09-17 23:16:45 UTC

*** This issue has been marked as a duplicate of 140811 ***