-->
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: SessionFactory in JMX
PostPosted: Tue Dec 07, 2004 3:39 am 
Newbie

Joined: Mon Nov 29, 2004 10:15 am
Posts: 3
Hibernate version:2.1.4

Name and version of the database you are using:MySql 4.+

Hi

I am using Tomcat/Hibernate/MySQL. I am trying to expose HibernateService through JMX.

How can I acquire SessionFactory from HibernateService so that I can create Sessions from it.

Also do I have to restart HibernateService for changes like enable show_sql trace etc. to take effect? If yes, isn't that cumbersome as the whole point behind management is lost. Also what happens to my active clients when the hibernate service is in the process of restarting?

This is urgent and I have been struggling to get this working for a while. Any help would be appreciated.

Thanks,
-Nilesh


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.