-->
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: Hibernate performance issue
PostPosted: Tue Jul 12, 2011 6:52 am 
Newbie

Joined: Tue Jul 12, 2011 6:29 am
Posts: 1
I have a jsp which has to display result of 35 queries in tabular form. The table consists of 3 colomns. All these 35 queries are written in hibernate using createSQLQuery(). Result of each query is a single record. I am directly calling the DAO class that executes these 35 queries in jsp.
The jsp is taking lot of time to load. When I have placed timers in DAO, I noticed that the first column in jsp is taking longer time. But the remaining 2 colums are taking very less time.

I know we are not supposed to use Hibernate directly in jsps but as our applications is an old one things had to be done this way. This cannot be avoided.

The page is taking on an average 20,000ms to load. Which is very bad.


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.