openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From exabrial <exabr...@gmail.com>
Subject Re: JPA Profiler to Capture Queries
Date Fri, 07 Dec 2012 18:52:16 GMT
Thanks a ton Rick!

That class definitely got me the basic information, and I was easily able to
implement a query timer. I have a followup question:

If the current query being executed is a named query, is there a way to grab
it's name? The idea being that I'm displaying pie charts to the user of time
spent in each query, and I want to give them the ability to correlate the
SQL back to the uncompiled JPQL.

Once again thankyou!



--
View this message in context: http://openjpa.208410.n2.nabble.com/JPA-Profiler-to-Capture-Queries-tp7582053p7582062.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Mime
View raw message