Hi, > 1) EntityManager: how many entities (and collections) are in 1st level > cache? OpenJPAEntityManager.getManagedObjects();
> 2) EntityManagerFactory: how many select / insert / update statements were > executed within that SessionFactory? You can attach a JDBCListener [1] (there is an abstract implementation available) [1] http://openjpa.apache.org/docs/latest/javadoc/org/apache/openjpa/lib/jdbc/JDBCListener.html -- View this message in context: http://n2.nabble.com/1st-level-cache-and-query-statistics--tp220964p363432.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
