I might be wrong but you are probably able to cast the injected entitymanager to
org.hibernate.ejb.HibernateEntityManager, and then do
castedEntityManager.getSession().getSessionFactory() / getStatistics()
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040962#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...