title: In the java DBCP connection pool - what is an idle connection?
body: <p>A colleague at work insists that a DBCP idle connection is a connection that has lain unused for 30 minutes. </p>
  
  <p>I believe a dbcp idle connection is a connection that is in the pool available to be borrowed, and an active connection is one that is borrowed.</p>
  
  <p>Looking through the code I found no reference to 30 minutes or other magic values and a cursory glance through the code for assuring minidle does not show any such logic. </p>
  
  <p>If he is correct can you please back that up with a code or documentation reference. For the complete answer I would like it answered for both DBCP 1.1 and 1.6.  </p>