Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection pool

 
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
Bartender
Posts: 2951
46
  • 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