Another place where it's safest to be explicit about whence the column comes.

This commit is contained in:
Par Winzell
2007-08-16 20:24:15 +00:00
parent 94766648e6
commit a794805a86
@@ -96,6 +96,8 @@ public abstract class BuildVisitor implements ExpressionVisitor
if (ii > 0) { if (ii > 0) {
_builder.append(" and "); _builder.append(" and ");
} }
appendTableAbbreviation(whereCondition.getPersistentClass());
_builder.append(".");
appendColumn(whereCondition.getPersistentClass(), keyFields[ii]); appendColumn(whereCondition.getPersistentClass(), keyFields[ii]);
_builder.append(values[ii] == null ? " is null " : " = ? "); _builder.append(values[ii] == null ? " is null " : " = ? ");
} }