-->
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: Creating a hbm file from multiple tables
PostPosted: Thu Feb 19, 2009 7:44 am 
Newbie

Joined: Fri Apr 06, 2007 1:53 am
Posts: 2
Hi,

I need help to create a hbm file from multiple tables. We are revamping our existing systems. So need to create a hbm file from multiple tables. Can i use hibernate tools to auto generate this.How do i do this ?


mathaj


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 19, 2009 7:48 am 
Expert
Expert

Joined: Fri Jan 30, 2009 1:47 am
Posts: 292
Location: Bangalore, India
Hibernate has a tool called Middlegen which is used for generating hbm mapping files from existing DB. You can use Middlegen to generate a mapping skeleton from database metadata and then refine the mappings by hand.

_________________
Regards,
Litty Preeth


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.