Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection pool  RSS feed

 
Abdul Aatif
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do i make my java program(connection pool program) to forcefully take idle database connections from other programs?
 
Tim Moores
Saloon Keeper
Posts: 3564
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!