-->
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: SQL query takes very long time
PostPosted: Wed Jan 13, 2010 8:09 am 
Newbie

Joined: Tue Feb 07, 2006 2:43 am
Posts: 7
I am using HIbernate 3.1.3
RAD 7
compiling to jre 1.4
Oracle 9

A query which I can ran in few seconds in a sql client takes long time 2 to 3 minths to run through hibernate
I use plain sql and not HSQL

I nerrow down the problem to this line of code
ResultSet rs = ps.executeQuery();
in
AbstractBatcher public ResultSet getResultSet(PreparedStatement ps) throws SQLException

ps is of type com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement

The query in the end is returned with the right results.

any idea?


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.