-->
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: How to Load an Object with composite primary key
PostPosted: Fri Mar 17, 2006 1:11 am 
Beginner
Beginner

Joined: Mon Oct 17, 2005 1:58 am
Posts: 27
Can we load an object having a composite primary key using Session.Load() or Session.Get()? If so how? If not what is the alternative?

Can anybody provide me an example?

Thanks..


Top
 Profile  
 
 Post subject: Re: How to Load an Object with composite primary key
PostPosted: Fri Mar 17, 2006 4:14 am 
Expert
Expert

Joined: Thu Jan 19, 2006 4:29 pm
Posts: 348
sandipandeb wrote:
Can we load an object having a composite primary key using Session.Load() or Session.Get()? If so how? If not what is the alternative?

Can anybody provide me an example?

Thanks..


See http://forum.hibernate.org/viewtopic.php?t=954402&highlight=

Sergey got an answer, not me :-P

Gert


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.