db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject svn commit: r348971 - /incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/methods/SupportedJDOHelperMethods.java
Date Fri, 25 Nov 2005 15:46:48 GMT
Author: brazil
Date: Fri Nov 25 07:46:45 2005
New Revision: 348971

URL: http://svn.apache.org/viewcvs?rev=348971&view=rev
Log:
Bug fix related to JDO-177.

Modified:
    incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/methods/SupportedJDOHelperMethods.java

Modified: incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/methods/SupportedJDOHelperMethods.java
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/methods/SupportedJDOHelperMethods.java?rev=348971&r1=348970&r2=348971&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/methods/SupportedJDOHelperMethods.java
(original)
+++ incubator/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/methods/SupportedJDOHelperMethods.java
Fri Nov 25 07:46:45 2005
@@ -109,7 +109,8 @@
         expectedResult = getExpectedResult(false, Person.class, "personid == 1");
         // The query above returns a collection of size 1.
         // The collection element is the parameter of the query below.
-        Object[] parameters = new Object[]{expectedResult[0]};
+        Object[] parameters = new Object[]{
+                JDOHelper.getObjectId(expectedResult[0])};
         executeAPIQuery(ASSERTION_FAILED, VALID_QUERIES[index], 
                 parameters, expectedResult);
         executeSingleStringQuery(ASSERTION_FAILED, VALID_QUERIES[index], 



Mime
View raw message