code: final protected void closeAndRemoveResultSets(boolean closeWrapperOnly) 
      {
          //  Close and remove all the result sets in the childWrappers
  
          //  - remove childWrappers.isEmpty() check since the precondition of this method
          // is that childWrappers have at least one element.
          for (int i = childWrappers.size() - 1; i > -1; i--) {
              try {
                  ((WSJdbcObject) childWrappers.get(i)).close(closeWrapperOnly); 
              } catch (SQLException ex) {
                  // Just trace the error since we need to continue
                  FFDCFilter.processException(
                                              ex, "com.ibm.ws.rsadapter.jdbc.WSJdbcStatement.closeAndRemoveResultSets", "277", this);
                  Tr.warning(tc, "ERR_CLOSING_OBJECT", ex);
              }
          }
      }
docs: Close the ResultSet for this Statement, if it's still around. Close even if the execute
  is not a query, as stated in the java.sql.Statement API.
  
  @param closeWrapperOnly boolean flag to indicate that only wrapper-closure activities
  should be performed, but close of the underlying object is unnecessary.
  
  <p>When this method is called, childWrappers are guaranteed to have at least one element.</p>