openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r832328 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java
Date Tue, 03 Nov 2009 07:56:08 GMT
Author: ppoddar
Date: Tue Nov  3 07:56:07 2009
New Revision: 832328

URL: http://svn.apache.org/viewvc?rev=832328&view=rev
Log:
Changed column name for Order.count to CNT to save HSQLDB

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java?rev=832328&r1=832327&r2=832328&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java
Tue Nov  3 07:56:07 2009
@@ -222,7 +222,7 @@
             if (!jSQL.get(i).equalsIgnoreCase(expectedSQL)) {
                 printSQL("SQL for JPQL", jSQL.get(i));
                 printSQL("Expected SQL", expectedSQL);
-                assertTrue(i + "-th SQL for JPQL: " + jpql + " are different than Expected
SQL " + expectedSQL, 
+                assertTrue(i + "-th SQL for JPQL: " + jSQL.get(i) + " are different than
Expected SQL " + expectedSQL, 
                     expectedSQL.equalsIgnoreCase(jSQL.get(i)));
             }
         }



Mime
View raw message