private StringBuffer buildSelectQuery(String schemaName,String tableName,ArrayList<OneRowChange.ColumnSpec> keys,ArrayList<OneRowChange.ColumnVal> keyValues){
  StringBuffer stmt=new StringBuffer();
  stmt.append("SELECT * FROM ");
  stmt.append(conn.getDatabaseObjectName(schemaName) + "." + conn.getDatabaseObjectName(tableName));
  stmt.append(" WHERE ");
  printColumnSpec(stmt,keys,keyValues,PrintMode.ASSIGNMENT," AND ");
  return stmt;
}

private StringBuffer buildSelectQuery ( String schemaName , String tableName , ArrayList < OneRowChange . ColumnSpec > keys , ArrayList < OneRowChange . ColumnVal > keyValues ) { StringBuffer stmt = new StringBuffer ( ) ; stmt . append ( "SELECT * FROM " ) ; stmt . append ( conn . getDatabaseObjectName ( schemaName ) + "." + conn . getDatabaseObjectName ( tableName ) ) ; stmt . append ( " WHERE " ) ; printColumnSpec ( stmt , keys , keyValues , PrintMode . ASSIGNMENT , " AND " ) ; return stmt ; }
constructs a sql statement template later used for prepared statement .
