This content has been marked as final.
Show 2 replies
-
1. Re: Remove idle connection in jboss 7.0.2
sfcoy Jan 19, 2012 8:39 PM (in response to varsha.g)To quote the Hibernate documentation:
For use inside an application server, you should almost always configure Hibernate to obtain connections from an application server
javax.sql.Datasource
registered in JNDI.What you're trying to do here smells a bit. It kind of defeats one of the main purposes of using a connection pool.
Are you by any chance trying to force your database transactions to commit?
Maybe we can find a better way to achieve what you're trying to do.
-
2. Re: Remove idle connection in jboss 7.0.2
jesper.pedersen Jan 20, 2012 8:34 AM (in response to varsha.g)Use 7.1.0.CR1b