Another place where it's safest to be explicit about whence the column comes.
This commit is contained in:
@@ -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 " : " = ? ");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user