From 2ff77531c2190355adb1c71f53a87d0873fe1c6e Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Tue, 3 Nov 2009 07:56:07 +0000 Subject: [PATCH] Changed column name for Order.count to CNT to save HSQLDB git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832328 13f79535-47bb-0310-9956-ffa450edef68 --- .../openjpa/persistence/criteria/AbstractCriteriaTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java index cd827cfba..3faf56e63 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/criteria/AbstractCriteriaTestCase.java @@ -222,7 +222,7 @@ public abstract class AbstractCriteriaTestCase extends TestCase { 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))); } }