code: @Override
      public ResultSet executeQuery(String sql) throws SQLException {
          boolean isOk = false;
  
          try {
              final ResultSet result = wrap(internalStmt.executeQuery(sql));
              isOk = true;
              return result;
          } finally {
              poolableConn.updateLastSQLExecutionTime(isOk);
          }
      }
docs: Method executeQuery.
  
  @param sql
  @return ResultSet
  @throws SQLException
  @see java.sql.Statement#executeQuery(String)