We're handling Key query construction directly instead of letting it look like

a WhereClause, so we need to add our own where.
This commit is contained in:
Michael Bayne
2008-09-05 22:36:53 +00:00
parent 4c41561f0f
commit fb64881c82
@@ -92,6 +92,7 @@ public abstract class BuildVisitor implements ExpressionVisitor
public void visit (Key<? extends PersistentRecord> key)
{
_builder.append(" where ");
Class<? extends PersistentRecord> pClass = key.getPersistentClass();
String[] keyFields = KeyUtil.getKeyFields(pClass);
List<Comparable<?>> values = key.getValues();