EHC ❯ Figure out how to access Hibernate stats for console in unified cache provider
-
Task
-
Status: Closed
-
0 Showstopper
-
Resolution: Fixed
-
ehcache-core
-
-
hsingh
-
Reporter: amiller
-
December 09, 2009
-
0
-
Watchers: 0
-
January 17, 2013
-
February 03, 2010
Description
Need to figure out how to (automatically if possible) get the Hibernate stats available as an mbean for use by the dev console. We were doing this with agent instrumentation in the Terracotta cache provider - want to do this without instrumentation though. Worst case, we could provide a choice for:
- use the agent to make it automatic
- provide docs on how to get the bean registered with the SessionFactory
Comments
Abhishek Singh 2010-02-03
Himadri Singh 2010-02-24
Dev-console hibernate cache panel is working and showing stats.
Fixed. Use JNDI (if session factory name is provided) otherwise reflectively find out the sessionFactory (using Properties.equals()) iterating on SessionFactoryObjectFactory.INSTANCES