You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2010/08/02 19:42:23 UTC

svn commit: r981621 - /ofbiz/trunk/framework/sql/src/org/ofbiz/sql/SQLSelect.java

Author: doogie
Date: Mon Aug  2 17:42:23 2010
New Revision: 981621

URL: http://svn.apache.org/viewvc?rev=981621&view=rev
Log:
BUG FIX: Fix toString with multiple RELATION, they should not be
separated by commas.

Modified:
    ofbiz/trunk/framework/sql/src/org/ofbiz/sql/SQLSelect.java

Modified: ofbiz/trunk/framework/sql/src/org/ofbiz/sql/SQLSelect.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/SQLSelect.java?rev=981621&r1=981620&r2=981621&view=diff
==============================================================================
--- ofbiz/trunk/framework/sql/src/org/ofbiz/sql/SQLSelect.java (original)
+++ ofbiz/trunk/framework/sql/src/org/ofbiz/sql/SQLSelect.java Mon Aug  2 17:42:23 2010
@@ -136,7 +136,7 @@ public final class SQLSelect extends SQL
         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 ");