db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject svn commit: r331257 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/variables/VariablesAndFields.java
Date Mon, 07 Nov 2005 11:34:26 GMT
Author: brazil
Date: Mon Nov  7 03:34:18 2005
New Revision: 331257

URL: http://svn.apache.org/viewcvs?rev=331257&view=rev
Log:
Bug fix: Some queries used '=' instead of '=='.

Modified:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/variables/VariablesAndFields.java

Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/variables/VariablesAndFields.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/variables/VariablesAndFields.java?rev=331257&r1=331256&r2=331257&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/variables/VariablesAndFields.java
(original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/variables/VariablesAndFields.java
Mon Nov  7 03:34:18 2005
@@ -54,8 +54,8 @@
         /*INTO*/        null, 
         /*FROM*/        Employee.class,
         /*EXCLUDE*/     null,
-        /*WHERE*/       "team.contains(employee) & employee.firstname == " +
-                        "'emp1First'",
+        /*WHERE*/       "team.contains(employee) & " +
+                        "employee.firstname == 'emp1First'",
         /*VARIABLES*/   "Employee employee",
         /*PARAMETERS*/  null,
         /*IMPORTS*/     null,
@@ -69,8 +69,8 @@
         /*INTO*/        null, 
         /*FROM*/        Employee.class,
         /*EXCLUDE*/     null,
-        /*WHERE*/       "team.contains(employee) & employee.firstname == " +
-                        "'emp1First'",
+        /*WHERE*/       "team.contains(employee) & " +
+                        "employee.firstname == 'emp1First'",
         /*VARIABLES*/   null,
         /*PARAMETERS*/  null,
         /*IMPORTS*/     null,
@@ -98,7 +98,8 @@
         /*INTO*/        null, 
         /*FROM*/        Employee.class,
         /*EXCLUDE*/     null,
-        /*WHERE*/       "team.contains(manager) & manager.firstname = 'emp1First'",
+        /*WHERE*/       "team.contains(manager) & " + 
+                        "manager.firstname == 'emp1First'",
         /*VARIABLES*/   "Employee manager",
         /*PARAMETERS*/  null,
         /*IMPORTS*/     null,
@@ -112,7 +113,8 @@
         /*INTO*/        null, 
         /*FROM*/        Person.class,
         /*EXCLUDE*/     null,
-        /*WHERE*/       "team.contains(manager) & manager.firstname = 'emp1First'",
+        /*WHERE*/       "team.contains(manager) & " +
+                        "manager.firstname == 'emp1First'",
         /*VARIABLES*/   null,
         /*PARAMETERS*/  null,
         /*IMPORTS*/     null,



Mime
View raw message