Hi,
We are using native SQL with Hibernate 3.5.6 and when we use setParameter() and setParameterList() with DB2, our queries are 50+ seconds vs. 5-6 seconds if we do string replacement of values directly from the SQL string. I am trying to determine if it is a Hibernate or DB2 issue. Can you please advise the best way to determine what's happening under the covers when setParameter() and setParameterList() are called and the any hints to whether this is a Hibernate issue or not.
Many thanks,
-Kathy
|