-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to do code generation?
PostPosted: Fri Jun 02, 2006 9:42 am 
Newbie

Joined: Fri Jun 02, 2006 9:27 am
Posts: 1
Hi,guys!
I'm using Hibernate tools 3.1.0 Beta5 for eclipse, trying to generate xxx.hbm.xml,xxx.java, and I exactly follow the guide:
Creating a Hibernate configuration file......OK
Creating a Hibernate Console configuration......OK
I can see the database and the tables which I created.
Reverse engineering and code generation......OK
Code Generation Launcher......OK
Exporters...... I chose Hibernate XML mappings(.hbm.xml).
then nothing happened:no any xxx.hbm.xml generated!

Is there any thing else I should do to generate such files?

Thanks in advance!

Jesse


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 08, 2006 1:34 am 
Newbie

Joined: Fri Sep 23, 2005 10:15 am
Posts: 7
Make sure you have ticked the "Reverse engineer from JDBC connection" check box in
Main part of Hibernate code generation. And if you want specify the package where you need the hbm.xml files , u might have missed this
Regards ,
Anuja K


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.