java - How to log JPA/SQL queries with JavaMelody? -
java - How to log JPA/SQL queries with JavaMelody? -
i have found next manual https://code.google.com/p/javamelody/wiki/userguideadvanced#jpa_monitoring
it contains info regarding changes should create in persistence.xml
in order allow javamelody gather jpa/sql statistics.
however, it's not quite clear me, whether should replace existing provider
javamelody
-provider, or should set separate persistence unit?
i tried former option, broken application (build failed error 'cannot cast proxy entitymanagerfactory').
java jpa persistence.xml java-melody
Comments
Post a Comment