db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r611476 - /db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/query/jdoql/subqueries/NullSubqueryParameter.java
Date Sat, 12 Jan 2008 20:40:42 GMT
Author: mbo
Date: Sat Jan 12 12:40:41 2008
New Revision: 611476

URL: http://svn.apache.org/viewvc?rev=611476&view=rev
Log:
JDO-446: fix typo in fieldname used in JDOQL query

Modified:
    db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/query/jdoql/subqueries/NullSubqueryParameter.java

Modified: db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/query/jdoql/subqueries/NullSubqueryParameter.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/query/jdoql/subqueries/NullSubqueryParameter.java?rev=611476&r1=611475&r2=611476&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/query/jdoql/subqueries/NullSubqueryParameter.java
(original)
+++ db/jdo/trunk/tck2/src/java/org/apache/jdo/tck/query/jdoql/subqueries/NullSubqueryParameter.java
Sat Jan 12 12:40:41 2008
@@ -64,11 +64,11 @@
 
         String singleStringJDOQL = 
             "SELECT FROM Employee WHERE this.weeklyhours = emp.weeklyhours && " +
-            "emp.firstName = 'emp1First' VARIABLES Employee emp";
+            "emp.firstname = 'emp1First' VARIABLES Employee emp";
 
         // API query
         Query apiQuery = pm.newQuery(Employee.class);
-        apiQuery.setFilter("this.weeklyhours > emp.weeklyhours && emp.firstName
= 'emp1First'");
+        apiQuery.setFilter("this.weeklyhours > emp.weeklyhours && emp.firstname
= 'emp1First'");
         // null subquery parameter
         apiQuery.addSubquery(null, "Employee emp", null); 
         executeJDOQuery(ASSERTION_FAILED, apiQuery, singleStringJDOQL, 



Mime
View raw message