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:
@@ -92,6 +92,7 @@ public abstract class BuildVisitor implements ExpressionVisitor
|
|||||||
|
|
||||||
public void visit (Key<? extends PersistentRecord> key)
|
public void visit (Key<? extends PersistentRecord> key)
|
||||||
{
|
{
|
||||||
|
_builder.append(" where ");
|
||||||
Class<? extends PersistentRecord> pClass = key.getPersistentClass();
|
Class<? extends PersistentRecord> pClass = key.getPersistentClass();
|
||||||
String[] keyFields = KeyUtil.getKeyFields(pClass);
|
String[] keyFields = KeyUtil.getKeyFields(pClass);
|
||||||
List<Comparable<?>> values = key.getValues();
|
List<Comparable<?>> values = key.getValues();
|
||||||
|
|||||||
Reference in New Issue
Block a user