This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using connection pooling with the following values:
Minimum connections=1, purge policy=entire pool, age timeout= 0.
I have the following queries:
If I have 5 connections and the connections are to be purged then all 5 of them will be purged or 1 connection will still be maintained (since minimum connection is set to 1)?
If minimum connection is to be maintained then which connection will be selected i.e newest,oldest or any other connewction will be used?
Is there any way in which I can explicitly return a connection logically back to the pool (say using statements like connection.close() or using similar statements)?
Is there a way to find out the type of connection pooling I am using?