-->
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.  [ 1 post ] 
Author Message
 Post subject: Combine session.createFilter() with eager fetching
PostPosted: Fri Feb 26, 2010 9:46 am 
Beginner
Beginner

Joined: Wed Jan 16, 2008 8:16 am
Posts: 23
Hi,

I'm playing around with loading of collections. I tried
to load the collection and some of its ManyToOne properties
eagerly. Therefore I used following code fragement:

Code:
getSession.createFilter(collection, "select this left join fetch ...");


This don't work. Can anyone tell me a solution for combining
the createFilter method with eager fetching.

The advantage of using this createFilter method is that I
do not loose the @Where and @Filter clauses configured
for this properties.

I'm using hibernate 3.2.5ga.

Best regards,
Michi


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.