Re: Release a database connection from pool

2013-09-10 Thread Jose María Zaragoza
2013/9/10 Christopher Schultz > It can't: not all JDBC drivers use TCP/IP, so the only thing the DBCP > can do is call Connection.close and hope the driver does something > intelligent. It makes sense > > That's up to the database server. I can't imagine a db server that > would not know what

Re: Release a database connection from pool

2013-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jose, On 9/9/13 2:56 PM, Jose María Zaragoza wrote: > Hello: > > I've got a simple question. I'm using Tomcat 6 & DBCP library ( bit > I've got the same question with Tomcat JDBC pool ) > > > My question is: > > when DBCP wants to release a data

Re: Release a database connection from pool

2013-09-09 Thread Daniel Mikusa
On Sep 9, 2013, at 4:10 PM, Jose María Zaragoza wrote: > 2013/9/9 Daniel Mikusa : >> On Sep 9, 2013, at 2:56 PM, Jose María Zaragoza wrote: >>> >>> Or does it do anything more by using propietary driver's commands? I >>> asking me if ( some ) database servers need a special command to >>> finis

Re: Release a database connection from pool

2013-09-09 Thread Jose María Zaragoza
2013/9/9 Daniel Mikusa : > On Sep 9, 2013, at 2:56 PM, Jose María Zaragoza wrote: >> >> Or does it do anything more by using propietary driver's commands? I >> asking me if ( some ) database servers need a special command to >> finish a connection/session ? > > Not sure what you mean here. Can yo

Re: Release a database connection from pool

2013-09-09 Thread Daniel Mikusa
On Sep 9, 2013, at 2:56 PM, Jose María Zaragoza wrote: > Hello: > > I've got a simple question. > I'm using Tomcat 6 & DBCP library ( bit I've got the same question > with Tomcat JDBC pool ) > > > My question is: > > when DBCP wants to release a database connection from the pool ( for > examp

Release a database connection from pool

2013-09-09 Thread Jose María Zaragoza
Hello: I've got a simple question. I'm using Tomcat 6 & DBCP library ( bit I've got the same question with Tomcat JDBC pool ) My question is: when DBCP wants to release a database connection from the pool ( for example , if it is idle for more than minEvictableIdleTimeMillis ) does it just clo