my dog learned polymorphism
The moose likes JDBC and Relational Databases and the fly likes Connection pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection pool" Watch "Connection pool" New topic

Connection pool

Abdul Aatif

Joined: Feb 08, 2012
Posts: 23
how do i make my java program(connection pool program) to forcefully take idle database connections from other programs?
Tim Moores

Joined: Sep 21, 2011
Posts: 2409
I sure hope that's not possible. The solution would be to make all clients use a connection pool implementation that closes idle connections after some time, thereby freeing them up for other clients.
I agree. Here's the link:
subject: Connection pool
It's not a secret anymore!