openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MiƂosz Tylenda <mtyle...@o2.pl>
Subject Re: How can I tell from debug output whether setting "batchLimit" made any difference?
Date Fri, 05 Feb 2010 19:15:11 GMT
Hi,

> Normally, when I see a query generate the SQL, OpenJPA prints
> performance numbers after each query, like "[15 ms]".  I see that on
> most of the queries, although some of them say "[0 ms]".

I have also seen these megamighty fast [0 ms] executions. These are timings of PreparedStatement.execute*.
I suspect the JDBC driver can defer the actual execution until a result set is fetched, hence
these timings.

Regards,
Milosz


Mime
View raw message