11-03-05 10:45 PM
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 33
0555)
>+++ test/java/org/apache/jdo/tck/query/QueryElementHolder.java (Arbeitskopi
e)
>@@ -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
[ Post a follow-up to this message ]
|