...
The latest OpenJPA Tools JAR file can be download from the SNAPSHOT Repository or can be built from the source code in svn by using Maven 2.2.1 and Java SE 6.
Usage
- Configuration
Append the path of openjpa-fetch-statistics-version-SNAPSHOT.jar file to the classpath prior to lanuching the JVM.
- Statistics Collecting and Monitoring
When this tool is configured, it will be active for all persistence units in the JVM. Statistics will be dumped via the
openjpa.Runtime channel with the INFO level every 10 minutes, or when the JVM terminates. Any EAGER field that is logged
has not been accessed by an application.
- Configuration removal
Stop the JVM.
Remove openjpa-fetch-statistics-version-SNAPSHOT.jar from the classpath.
...