Hello,

I am using appfuse/hibernate/spring outside of a web context to run some
services.

I am using the following to instantiate the bean,

ApplicationContext ctx = new
ClassPathXmlApplicationContext(getConfigLocations());
MailAccountFetcher accountFetcher = (MailAccountFetcher)
ctx.getBean("fetchBean");


And then the bean does a couple of database calls using typical Daos and
Managers. But afterwards the beans aren't releasing the database
connections. What is the best way for me to force the connections to be
released?


Thanks,
Rom
-- 
View this message in context: 
http://www.nabble.com/How-can-I-release-JDBC-connections--tp19154106s2369p19154106.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to