From 1e9c4df2191236e58c0ff6979a159223328dcad3 Mon Sep 17 00:00:00 2001 From: zell Date: Fri, 17 Aug 2007 22:24:37 +0000 Subject: [PATCH] Roll back 2192 with comment. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2194 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/jdbc/depot/BuildVisitor.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/java/com/samskivert/jdbc/depot/BuildVisitor.java b/src/java/com/samskivert/jdbc/depot/BuildVisitor.java index a73e82a2..6ded1641 100644 --- a/src/java/com/samskivert/jdbc/depot/BuildVisitor.java +++ b/src/java/com/samskivert/jdbc/depot/BuildVisitor.java @@ -97,8 +97,12 @@ public abstract class BuildVisitor implements ExpressionVisitor if (ii > 0) { _builder.append(" and "); } - appendTableAbbreviation(pClass); - _builder.append("."); + // TODO: This cannot work properly until the Depot architecture has been expanded + // so that every field reference is expanded according to context such as shadowOf + // and FieldOverride. For now, this works out of sheer luck - we have no ambiguous + // references to trip us up... but it must be fixed soon. + // appendTableAbbreviation(pClass); + // _builder.append("."); appendColumn(pClass, keyFields[ii]); _builder.append(values[ii] == null ? " is null " : " = ? "); }