-->
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: Specifying BatchSize for particular query
PostPosted: Thu Sep 17, 2009 4:14 pm 
Beginner
Beginner

Joined: Thu Jul 08, 2004 8:56 am
Posts: 23
Hi all,

I've already searched API and Hibernate source but I wanted to be 100% sure that this is not possible.
We have a scenario where n+1 queries are having a negative impact on performance and I wanted this particular query to have a very aggressive BatchSize. I know I can annotate the class or the collection but if I do so I am afraid I might impose a negative performance impact on other use cases is there any workaround I could do? To be more exact: is there anyway I can set a collection batchsize for a single query?

best regards,
Rafael Ribeiro

_________________
Rafael Ribeiro


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.