[jboss-user] [JBoss Seam] - Re: How to gather Hibernate Statistic when using seam manage

spambob do-not-reply at jboss.com
Thu Apr 26 09:19:05 EDT 2007


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#4040962

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040962



More information about the jboss-user mailing list