BUG FIX: Fix toString with multiple RELATION, they should not be

separated by commas.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2010-08-02 17:42:23 +00:00
parent 3ade64a656
commit 1fc630261e
@@ -136,7 +136,7 @@ public final class SQLSelect extends SQLStatement<SQLSelect> implements InsertSo
sb.append(" FROM ");
table.appendTo(sb);
if (relations != null) {
StringUtil.appendTo(sb, relations.values(), " ", null, ",");
StringUtil.appendTo(sb, relations.values(), " ", null, null);
}
if (whereCondition != null) {
sb.append(" WHERE ");