-->
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: Mapping Non Key Columns
PostPosted: Wed Nov 21, 2007 1:07 am 
Newbie

Joined: Wed Nov 21, 2007 12:58 am
Posts: 10
Hi all i am new to hibernate.I have a basic question
1 Is it possible in hibernate to associate tables based on the non primary keys.What i mean to say is that if i have a column in a table which is not the primary key of the table and 2nd table which has a corresponding column(also not primary key) matching the column of first table ,can a specify a relationship between these two.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 21, 2007 5:18 am 
Regular
Regular

Joined: Mon Mar 26, 2007 12:38 am
Posts: 119
Hi,
Yes.
It is possible.

Welcome to Hibernate World !
Hibernate Docs is a good place to start for a newbie.


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.