Hi Hibernate Gurus,
During one of the performance issue evaluation we found one issue/query
We are using Hibernate 3.0
Quote:
Issue /Query : For some HQL queries AWR Report from Oracle 10g shows that
Section : SQL ordered by Parse Calls , in this section queries are having same Parse Calls and Same Execution For example,
<B>Parse Calls Executions % Total Parses SQL Id
49,739 49,739 21.82 15unhakmkq3rw
</B>
Quote:
upon logging Translated queries also shows it uses bind variables
(example ....this_.realm_guid in (?, ?) and this_.locale_guid in (?, ?) )
Now Hibernate says they are always using PreparedStatement for execution then how is it possible that the parsing and execution are same ?
I am completely unaware in this area.
Help will be much appriciated.
Thanks in advance.
-Tarak