From a41f50cba5632811014aeb3c7c0470b656d42214 Mon Sep 17 00:00:00 2001 From: zell Date: Thu, 16 Aug 2007 20:24:15 +0000 Subject: [PATCH] Another place where it's safest to be explicit about whence the column comes. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2192 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/jdbc/depot/BuildVisitor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/java/com/samskivert/jdbc/depot/BuildVisitor.java b/src/java/com/samskivert/jdbc/depot/BuildVisitor.java index def7dd16..60925bfb 100644 --- a/src/java/com/samskivert/jdbc/depot/BuildVisitor.java +++ b/src/java/com/samskivert/jdbc/depot/BuildVisitor.java @@ -96,6 +96,8 @@ public abstract class BuildVisitor implements ExpressionVisitor if (ii > 0) { _builder.append(" and "); } + appendTableAbbreviation(whereCondition.getPersistentClass()); + _builder.append("."); appendColumn(whereCondition.getPersistentClass(), keyFields[ii]); _builder.append(values[ii] == null ? " is null " : " = ? "); }