• Post Reply Bookmark Topic Watch Topic
  • New Topic

Collecting metrics in EclipseLink

 
pjoisha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is there a way to collect metrics in Eclipselink? I interested in collecting the elapsed time for the select statements (be it JPQL or native queries)

I know eclipselink has a mechanism to log the statements (along with start / end time, bind variables) in a log file but I want some control over it in code.

Thanks,

 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!