db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject svn commit: r330579 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java
Date Thu, 03 Nov 2005 17:01:26 GMT
Author: brazil
Date: Thu Nov  3 09:01:23 2005
New Revision: 330579

URL: http://svn.apache.org/viewcvs?rev=330579&view=rev
Log:
Syntax of range clauses in single string queries has been adapted to the latest spec.

Modified:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java

Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java?rev=330579&r1=330578&r2=330579&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java (original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/QueryElementHolder.java Thu
Nov  3 09:01:23 2005
@@ -303,10 +303,10 @@
     private String rangeToString() {
         String result = "";
         if (this.fromString != null && this.toString != null) { 
-            result = "RANGE " + this.fromString + " TO " + this.toString;
+            result = "RANGE " + this.fromString + ',' + this.toString;
         }
         else if (this.fromLong != null && this.toLong != null) {
-            result = "RANGE " + this.fromLong + " TO " + this.toLong;
+            result = "RANGE " + this.fromLong + ',' + this.toLong;
         }
         return result;
     }



Mime
View raw message