-->
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: Check to see if a lazy object has loaded or not
PostPosted: Thu Feb 01, 2007 1:49 pm 
Newbie

Joined: Mon Aug 14, 2006 9:22 am
Posts: 4
Hibernate 3 / Oracle10g
If I have a parent-child where the child is defined to load lazily, is it possible to check programmatically whether the child has been loaded already (from within the parent) ? If I do anything like child.size() it triggers a call to the db which is not what I want in this first instance.
Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 2:37 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
Hi mungroo,

why u want to check for lazy.What is your exact requirment

_________________
Dharmendra Pandey


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.