-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate 3.5 JPA and JMX stats?
PostPosted: Thu Dec 09, 2010 7:29 pm 
Newbie

Joined: Fri Nov 25, 2005 4:44 pm
Posts: 12
Prior to 3.5 (I believe in 3.2.x) we could associate the SessionFactory with the MXBean like:

bean.setSessionFactory(sessionFactory);
then just call:
registerMBean(bean, ..)

I do not see an equavlent way of this in 3.5, the only possible way I see is: setJndiName()..which I believe I'm not using JNDI for lookups, I tried using the PersistenceUnit name, but to no avail..

any points on how to associate the MBean with the sessionFactory?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.