code: static JobDef map(ResultSet rs, int colShift)
      {
          JobDef tmp = new JobDef();
  
          try
          {
              tmp.id = rs.getInt(1 + colShift);
              tmp.application = rs.getString(2 + colShift);
              tmp.applicationName = rs.getString(3 + colShift);
              tmp.canBeRestarted = true;
              tmp.classLoader = rs.getInt(4 + colShift) > 0 ? rs.getInt(4 + colShift) : null;
              tmp.description = rs.getString(5 + colShift);
              tmp.enabled = rs.getBoolean(6 + colShift);
              tmp.external = rs.getBoolean(7 + colShift);
              tmp.highlander = rs.getBoolean(8 + colShift);
              tmp.jarPath = rs.getString(9 + colShift);
              tmp.javaClassName = rs.getString(10 + colShift);
              tmp.javaOpts = rs.getString(11 + colShift);
              tmp.keyword1 = rs.getString(12 + colShift);
              tmp.keyword2 = rs.getString(13 + colShift);
              tmp.keyword3 = rs.getString(14 + colShift);
              tmp.maxTimeRunning = rs.getInt(15 + colShift);
              tmp.module = rs.getString(16 + colShift);
              tmp.pathType = PathType.valueOf(rs.getString(17 + colShift));
              tmp.queue_id = rs.getInt(18 + colShift);
              tmp.priority = rs.getInt(19 + colShift) > 0 ? rs.getInt(19 + colShift) : null;
          }
          catch (SQLException e)
          {
              throw new DatabaseException(e);
          }
          return tmp;
      }
docs: ResultSet is not modified (no rs.next called).
  
  @param rs
  @return