Ah, just looked at the source code that is attached on that Wiki page and it is 
wrong.

Specifically, two things you need to change in the 
org.jboss.hibernate.jmx.Hibernate class:
1) in the getProperties() method, remove the line:
      setUnlessNull(props, Environment.SESSION_FACTORY_NAME, 
sessionFactoryName);
2) have it take over responsibility for binding and unbinding the session 
factory itself; use the newer (hibernate-3 based) one as a reference on how to 
do that.

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to