docs: private int bindStatement(PreparedStatement stmt, int index, InCriteria crit, ClassDescriptor cld) throws SQLException
      {
          if (crit.getValue() instanceof Collection)
          {
              Collection values = (Collection) crit.getValue();
              Iterator iter = values.iterator();
  
              while (iter.hasNext())
              {
                  index = bindStatementValue(stmt, index, crit.getAttribute(), iter.next(), cld);
              }
          }
          else
          {
              index = bindStatementValue(stmt, index, crit.getAttribute(), crit.getValue(), cld);
          }
          return index;
      }