-->
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: lazy question about one-to-one
PostPosted: Mon Aug 01, 2005 5:55 am 
Newbie

Joined: Tue Apr 26, 2005 2:22 am
Posts: 5
hi all,
mapping is one-to-one, such as company to profile, if i load company. hibernate always fetches profile also. i set constrained = true, and set profile class lazy = true, but the profile is loaded by hibernate.
how can i fetch object lazily in one-to-one mapping?
can any one help me, thank you in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 01, 2005 7:52 am 
Beginner
Beginner

Joined: Wed May 04, 2005 5:17 am
Posts: 40
How are you proxying the class? Is it non-public *with non-public methods* or does it expose an interface?


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.