code: private String getStringConcatenation(String[] params) {
  		String toReturn = sqladapter.strConcat(params);
  		if (sqladapter instanceof DB2SQLDialectAdapter) {
  			/*
  			 * A work around to handle DB2 (>9.1) issue SQL0134N: Improper use
  			 * of a string column, host variable, constant, or function name.
  			 * http
  			 * ://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic
  			 * =%2Fcom.ibm.db2.luw.messages.sql.doc%2Fdoc%2Fmsql00134n.html
  			 */
  			if (isDistinct || isOrderBy) {
  				return sqladapter.sqlCast(toReturn, Types.VARCHAR);
  			}
  		}
  		return toReturn;
  	}
docs: TODO: move to SQLAdapter