You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2011/03/20 20:27:24 UTC
svn commit: r1083546 -
/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SQLBuilder.java
Author: tfischer
Date: Sun Mar 20 19:27:24 2011
New Revision: 1083546
URL: http://svn.apache.org/viewvc?rev=1083546&view=rev
Log:
also add oder by column to select clause if case is not ignored
Modified:
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SQLBuilder.java
Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SQLBuilder.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SQLBuilder.java?rev=1083546&r1=1083545&r2=1083546&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SQLBuilder.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/SQLBuilder.java Sun Mar 20 19:27:24 2011
@@ -526,6 +526,7 @@ public final class SQLBuilder
else
{
orderByClause.add(orderByColumn);
+ selectClause.add(tableName + '.' + columnName);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org