-->
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.  [ 4 posts ] 
Author Message
 Post subject: session.load() and lazy association
PostPosted: Wed Mar 02, 2005 12:06 pm 
Newbie

Joined: Thu Feb 24, 2005 10:50 pm
Posts: 7
Hi!

Using session.load() under Hibernate3 give me a LazyInitializationException for a one-to-one association even if the mapped class has lazy="false" ?

It was working fine under Hibernate2...

Regards

Christian


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 12:09 pm 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
fetch="join"

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 3:52 pm 
Newbie

Joined: Thu Feb 24, 2005 10:50 pm
Posts: 7
anthony wrote:
fetch="join"


I've already tried that and it doestn't work!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 02, 2005 4:07 pm 
Expert
Expert

Joined: Fri Nov 07, 2003 4:24 am
Posts: 315
Location: Cape Town, South Africa
Should work. Provide a proxy for the class.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.