-->
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: Performance problem with selects..
PostPosted: Wed Nov 03, 2004 6:41 pm 
Beginner
Beginner

Joined: Mon Feb 09, 2004 6:43 am
Posts: 35
Hibernate version:
2.1.6
Mapping documents:
Oracle 9.02

Hi we have big problem with performance in our project. We
make HQL select from one method. This select find one row in rather big table.
I've checked in Oracle trace log that this SQL statement (in the morning I will send how it looks) is very quick but time between startin execution of HQL and geting result is very long (comparing to time needed for SQL select). I wonder where is problem ? I suspect that network communication is slow, but when we make batch insert under Hibernate it works very,very fast.

Program looks like this:

startTx();
for( let say 200 times is exxecuted) {

findProduct(prodName,validFrom,validTill); // here we execute HQL statement
....processing......
}
commit();

Tomorrow I will send more details


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.