-->
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.  [ 3 posts ] 
Author Message
 Post subject: FetchMode = SUB_SELECT doesn't exist
PostPosted: Tue Jan 31, 2006 11:53 am 
Beginner
Beginner

Joined: Mon Jan 31, 2005 11:04 am
Posts: 21
Hi,

I would like to change the way my collection is loaded at runtime by using

Code:
setFetchMode(String associationPath, FetchMode mode)


Unfortunately there is only the following FetchMode:
Code:
FetchMode.SELECT
FetchMode.JOIN


Does any body have a solution to that?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 31, 2006 2:13 pm 
Beginner
Beginner

Joined: Sun Jan 22, 2006 6:56 am
Posts: 29
What are you trying to acheive? Eager fetching? In that case use FetchMode.JOIN.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 08, 2006 10:10 pm 
Newbie

Joined: Thu May 05, 2005 6:27 pm
Posts: 7
I'd also like to know why there's no FetchMode.SUBSELECT. Is there
a technical reason for this or just oversight? Probably technical reason,
but what is it?


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