code: private String toSQLClause(InCriteria c)
      {
          StringBuffer buf = new StringBuffer();
          Collection values = (Collection) c.getValue();
          int size = values.size();
  
          buf.append(c.getAttribute());
          buf.append(c.getClause());
          buf.append("(");
          for (int i = 0; i < size - 1; i++)
          {
              buf.append("?,");
          }
          buf.append("?)");
          return buf.toString();
      }
docs: Answer the SQL-Clause for an InCriteria
  
  @param c SelectionCriteria