code: private int bindStatement(PreparedStatement stmt, int index, BetweenCriteria crit, ClassDescriptor cld) throws SQLException
      {
          index = bindStatementValue(stmt, index, crit.getAttribute(), crit.getValue(), cld);
  
          return bindStatementValue(stmt, index, crit.getAttribute(), crit.getValue2(), cld);
      }
docs: bind BetweenCriteria
  @param stmt the PreparedStatement
  @param index the position of the parameter to bind
  @param crit the Criteria containing the parameter
  @param cld the ClassDescriptor
  @return next index for PreparedStatement