DB db = TurbineDB.getDB( criteria.getDbName() );
DatabaseMap dbMap = TurbineDB.getDatabaseMap( criteria.getDbName() );
Query query = new Query();
StringStackBuffer selectModifiers = query.getSelectModifiers();
StringStackBuffer selectClause = query.getSelectClause();
StringStackBuffer fromClause = query.getFromClause();
StringStackBuffer whereClause = query.getWhereClause();
StringStackBuffer orderByClause = query.getOrderByClause();
StringStackBuffer orderBy = criteria.getOrderByColumns();
boolean ignoreCase = criteria.isIgnoreCase();
StringStackBuffer select = criteria.getSelectColumns();
Hashtable aliases = criteria.getAsColumns();
StringStackBuffer modifiers = criteria.getSelectModifiers();
for (int i=0; i<modifiers.size(); i++)
{
selectModifiers.add( modifiers.get(i) );
}
for (int i=0; i<modifiers.size(); i++)
{
selectModifiers.add( modifiers.get(i) );
}
for (int i=0; i<select.size(); i++)
{
String columnName = select.get(i);