-->
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.  [ 4 posts ] 
Author Message
 Post subject: How to convert DataBase Schema to Mapping files
PostPosted: Fri Oct 10, 2003 9:19 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
Is there a way to convert all the tables of my schema (via database or ddl file) to mapping files (*.hbm.xml)?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 10, 2003 9:24 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
1. the deprecated ddl2hbm tool
2. The recommanded middlegen tool http://www.hibernate.org/98.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 04, 2005 9:02 am 
Newbie

Joined: Mon Jul 19, 2004 7:14 am
Posts: 3
Location: Mumbai, Maharashtra, India
I am also looking for the same. Thanks for your reply. I have not tried this but will do it and get back to you witgh the results.

Thanks for the directions.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 9:01 am 
Newbie

Joined: Wed Feb 23, 2005 9:00 am
Posts: 8
click on "MyEclipseDatabase" on right side of eclipse editor then select the table and right click and then click create hibernate mapping. it'll generate mapping file for that table(s).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.