Hi !!
Yes, i'm absolutely sure that hibernate only issues ONE statement. I'm using the profiler and P6Spy to check this.
The percentages are the total time spent on each method taking as measure the total time of the operation. The problem is that the query takes only 1 or 2 seconds in the query analyzer, but executing it through the system takes almost 10 seconds.
Maybe i'm extracting too much many-to-one relationships through outer-joins ? i do that frequently, but i didn't know that it would have that impact on large queries.
|