-->
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: the connection is manged by mbean of jboss????
PostPosted: Mon May 24, 2004 10:52 pm 
Regular
Regular

Joined: Tue Dec 30, 2003 2:35 am
Posts: 85
the whole question come of,the two line of hibernate cost too much time!
Code:
Configuration objConfig = new Configuration();
SessionFactory objSessionFactory = objConfig.configure().buildSessionFactory();


so i use the mbean of jboss,but in the whole way,i nerver type the two line(Configuration objConfig = new Configuration();
SessionFactory objSessionFactory = objConfig.configure().buildSessionFactory();)!
1.then the connection to database is manged by mbean of jboss????
2.the connection to database is manged by mbean of jboss,then if the conneciton to database are broken,the jboss need connect the database again.yes my question comes here!
but the connection is manged by mbean of jboss,i can't use the my owner code to control the connection to database.
if the thing really happened,then reboot the jboss is the only way to resolve the problem???o my god,dose it means that i will often reboot the jboss,and reboot the jboss is the only way to resolve the problem??

thanks a lot!


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.