db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Re: QueryElementHolder patch
Date Thu, 03 Nov 2005 16:52:11 GMT
Hi Michael,

looks good, check it in.

Regards Michael

> Hi,
>
> I'm sending this patch to jdo-dev because JIRA is not available 
> currently.
>
> JPOX has adapted the syntax of range clauses in single string queries 
> to match the latest spec. This patch fixes the issue in class 
> QueryElementHolder. Please review.
>
> Regards,
> Michael
>
>------------------------------------------------------------------------
>
>Index: test/java/org/apache/jdo/tck/query/QueryElementHolder.java
>===================================================================
>--- test/java/org/apache/jdo/tck/query/QueryElementHolder.java	(Revision 330555)
>+++ test/java/org/apache/jdo/tck/query/QueryElementHolder.java	(Arbeitskopie)
>@@ -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;
>     }
>  
>


-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			


Mime
View raw message