protected java.lang.StringBuffer | whereString(java.lang.String alias, java.lang.String[] columnNames, java.lang.String subselect, int batchSize)
if (subselect==null) {
return super.whereString(alias, columnNames, batchSize);
}
else {
StringBuffer buf = new StringBuffer();
if (columnNames.length>1) buf.append('(");
buf.append( StringHelper.join(", ", StringHelper.qualify(alias, columnNames) ) );
if (columnNames.length>1) buf.append(')");
buf.append(" in ")
.append('(")
.append(subselect)
.append(')");
return buf;
}
|