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

a WhereClause, so we need to add our own where.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2388 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2008-09-05 22:36:53 +00:00
parent 741f868cc5
commit 4ba1d015c9
@@ -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();