JPA monitor for persistence context
How convinion deb开发者_如何转开发ug state of persistence context, watch result of queries, monitor all entities?
Is some JPA monitor for this?
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
精彩评论