-->
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: Automatic EAGER fetching with Criteria API
PostPosted: Wed Sep 07, 2005 11:42 am 
Newbie

Joined: Wed Feb 02, 2005 2:26 pm
Posts: 1
Hibernate 3.0.5

Is there a simple global property to turn the fetch strategy to EAGER for all the association mappings, HQL and Criteria queries? I couldn't find any and it seems that the Criteria API ignores our outer-join="true" settings.

If there isn't such a switch, how can I get the class (or entity name) from a Criteria object? I mean if I create that by Criteria.forName(MyClazz.class) (or using the overload with the String parameter), is there a way to get MyClazz.class back? Or is this simply missing from the API???


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.