This complete small snippet shows how to get it working with JPA and an EJB container, but I don't know the steps needed for Tomee. The guide is for Jboss.
https://community.jboss.org/wiki/HibernateStatisticsWithJPAUsingAMbean What is the equivalent on Tomee? Thanks! -PS Ya, I'm not sure why the session factory needs to be registered. Stupid RedHad. -- View this message in context: http://openejb.979440.n4.nabble.com/Tomee-Hibernate-Session-JNDI-tp4655576p4655610.html Sent from the OpenEJB User mailing list archive at Nabble.com.
