-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate pagination
PostPosted: Thu Dec 18, 2008 2:13 pm 
Newbie

Joined: Fri Dec 12, 2008 8:59 pm
Posts: 10
Hi,

am using hibernate paginateion, when i am using startIndex and get max Results, its constructing a subquery like

select * from ( select row_.*, rownum rownum_ from ( select

so its affecting performance of the query,

could you plz suggest me the way of improving for performance, am using hibernate criteria .

Thanks
Kathir


Top
 Profile  
 
 Post subject: Hibernate Pagination
PostPosted: Tue Mar 03, 2009 3:58 pm 
Beginner
Beginner

Joined: Thu Jun 23, 2005 10:23 pm
Posts: 22
Have you tuned your inner most select statement (the query inside the rownum wrapping)? We use hibernate pagination with Oracle and as long as the inner select is optimally performance tuned then performance with rownum logic is fine. Good luck.


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