SQL running slow when i executes thru java

Posted by user270885 on Stack Overflow See other posts from Stack Overflow or by user270885
Published on 2010-06-18T08:08:40Z Indexed on 2010/06/18 8:13 UTC
Read the original article Hit count: 133

Filed under:
|
|

I am trying to execute a query in oracle db. When i try to run thru SQLTools the query is executing in 2 seconds and when i run the same query thru JAVA it is exectuting in more than a minute.

I am using a hint /*+ordered use_nl (a, b)*/

I am using ojdbc6.jar Is it because of any JARS? Please help whats causing this?

© Stack Overflow or respective owner

Related posts about java

Related posts about oracle10g