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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

doogie-3
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 ");