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
This commit is contained in:
zell
2007-08-16 20:24:15 +00:00
parent 0ac1b1cf46
commit a41f50cba5
@@ -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 " : " = ? ");
}