title: How DBConnectionPool will behave during Connection reset
body: <p>In our project we are maintaining our own DB connection pool.  <BR>
  For resolving the issue <code>'java.sql.SQLRecoverableException: Io exception</code> most of people has suggested to use standard connection pool like apache dbcp.</p>
  
  <ul>
  <li>I am wondering what is the logic those standard pooling mechanism will perform during connection reset?</li>
  <li>How do DBConnectionPool know that DB connection has timed out? since we know conn.isClosed() won't help here.</li>
  <li>Is it each db connection will have one tcp client socket with DB server?</li>
  <li>Finally is it advisable; whenever i return the connection to the pool; pool should close the connection; if the connection is existing more than ~10 mins from it is returned?
  [~10 mins server side conn timeout variable]</li>
  </ul>
  
  <p>Kindly answer all my questions.  </p>