title: Multithreaded JDBC
body: <p>Architecturally what is the best way to handle JDBC with multiple threads?  I have many threads concurrently accessing the database.  With a single connection and statement I get the following error message:</p>
  
  <p>org.postgresql.util.PSQLException: This ResultSet is closed.</p>
  
  <p>Should I use multiple connections, multiple statements or is there a better method?  My preliminary thought was to use one statement per thread which would guarantee a single result set per statement.</p>