-->
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: lazy= "true" but not lazily loading =true
PostPosted: Thu Jun 03, 2004 12:26 pm 
Senior
Senior

Joined: Sun Mar 14, 2004 10:16 am
Posts: 129
Location: Ankara
What can be the reason behind not being able to load a 'collection' lazily altough the collection is specified with lazy = "true" and
there is no "get" access to the collection in the code anywhere?

If the answer is simple and silly, forgive me my brain stopped working -)

_________________
-developer


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 03, 2004 12:34 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
The collection is lazy, I am sure you are accessing your collections somewhere.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 04, 2004 2:36 am 
Senior
Senior

Joined: Sun Mar 14, 2004 10:16 am
Posts: 129
Location: Ankara
No I dont. When I use "list" that is ok.
But when I use "bag", it doesnt load lazily. and I cant use "list" since it wants an index column where as I dont have any.

_________________
-developer


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 04, 2004 2:53 am 
Senior
Senior

Joined: Sun Mar 14, 2004 10:16 am
Posts: 129
Location: Ankara
Sorry, u were right, I do access

_________________
-developer


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.