-->
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: What is the meaning of <param name="property"> in hbm.xml
PostPosted: Fri May 27, 2011 7:09 am 
Newbie

Joined: Fri May 27, 2011 4:30 am
Posts: 1
Hi All,
I need a little help from u...I m very new in Hibernate...so anyone can tell me what is the meaning of the followings in Hibernate mapping file(hbm.xml):

<generator class="foreign">
<param name="property">user</param>
</generator>


Actually I need to know that what will be the value of <param name="property">....user means what...is it the table name? what type of value need to be put here?
this generator class can be used for One-to-One association with Foreign key?
Please let me know if possible...


Top
 Profile  
 
 Post subject: Re: What is the meaning of <param name="property"> in hbm.xml
PostPosted: Tue May 31, 2011 3:54 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Not quite following your question, but either way you should ask this on the Hibernate User forum. This forum is for Search and Validator.


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.