code: public Connection getReadWriteConnection() throws SQLException {
          try {
              Connection conn = dataSource.getConnection();
              setConnectionReadOnly(conn, false);
              return conn;
          } finally {
              if (logger.isDebugEnabled()) {
                  logger.debug("Got connection from pool (" + toString() + ")");
              }
          }
      }
docs: <p>
  Gets the next available connection.  Connection is read-write, only
  use if updates are to be performed, otherwise use getReadOnlyConnection()
  </p>
  
  @return The next available connection.
  @throws SQLException
  If the maximum number of connections has been reached or there is
  some other problem in obtaining the connection.