This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection pool" Watch "Connection pool" New topic
Author

Connection pool

Abdul Aatif
Greenhorn

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
Rancher

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: http://aspose.com/file-tools
 
subject: Connection pool