code: public void close() {
  
          // result set
          if (m_resultset != null) {
              try {
                  m_resultset.close();
              } catch (Exception e) {
                  e.printStackTrace();
  
              }
          }
          // statement
          if (m_statement != null) {
              try {
                  m_statement.close();
              } catch (Exception e) {
                  e.printStackTrace();
  
              }
          }
          // prepared statement
          if (m_preparedStatement != null) {
              try {
                  m_preparedStatement.close();
              } catch (Exception e) {
                  e.printStackTrace();
  
              }
          }
  
      }
docs: Closes result set, and statement. <p>