-->
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.  [ 1 post ] 
Author Message
 Post subject: HBM Genration Problem
PostPosted: Thu Jun 16, 2005 10:43 am 
Newbie

Joined: Fri Jun 10, 2005 6:30 am
Posts: 4
Location: Bangalore,India
When I run my Hibernate Synchronizer to generate the HBM's...If it encounters a Foreign Key--The generated HBM should contain a <many-to-one> tag for the following Foreign Key & In Cae it encounters a Composite Ket then it should genrate a <Key-many-to-one> relationship automatically right???

When i run my sychronizer it generates only <property> mapping even for Foreign Keys.......Can anybosy tell me what i should do ..So that the HBM created includes even the <many-to-one> mappings also????

Should I need to select something before generating???

Also one more prob I am facing is The HBm genarated contains all the <property> twice??Does anybody know the reason for this???Is it got anything to do with the database???


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

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.