[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate StatisticsService MBean doesnt work with Entit

adlepoo do-not-reply at jboss.com
Thu May 15 09:40:29 EDT 2008


Thanks!  I like your solution better than the one I was testing.
I set the hibernate.session_factory_name property and did a JNDI lookup to get the SessionFactory.

It seems to work, but I like getting the SessionFactory directly from the EntityManager (via EMFactory) instead of a backdoor method.

Regards,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151073#4151073

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



More information about the jboss-user mailing list