protected void appendClauses(Object... clauses){
  for (int i=0; i < clauses.length; i++) {
    if (i > 0)     statement.append(", ");
    statement.append(clauses[i]);
  }
}

protected void appendClauses ( Object ... clauses ) { for ( int i = 0 ; i < clauses . length ; i ++ ) { if ( i > 0 ) statement . append ( ", " ) ; statement . append ( clauses [ i ] ) ; } }
concatenates all the given clauses , separating them with commas .
