2

How convinion debug state of persistence context, watch result of queries, monitor all entities?

Is some JPA monitor for this?

Balconsky
  • 2,234
  • 3
  • 26
  • 39
  • http://stackoverflow.com/questions/4362876/how-to-view-the-sql-queries-issues-by-jpa – edze Sep 26 '11 at 08:30

1 Answers1

0

If you are using EclipseLink, there is a performance monitor option,

see,

http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Performance_Monitoring_and_Profiling/Performance_Monitoring

You can also configure logging,

http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging

James
  • 17,965
  • 11
  • 91
  • 146