From 96c723b3cb5e85f6f68059f62307d488eeedbc27 Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Wed, 18 Nov 2009 13:33:04 +0000 Subject: [PATCH] Works for MySQL git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881772 13f79535-47bb-0310-9956-ffa450edef68 --- .../openjpa/persistence/criteria/AbstractCriteriaTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 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 83d7125a6..4d488db7b 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 @@ -37,6 +37,7 @@ import org.apache.openjpa.jdbc.conf.JDBCConfiguration; import org.apache.openjpa.jdbc.sql.DBDictionary; import org.apache.openjpa.jdbc.sql.DerbyDictionary; import org.apache.openjpa.jdbc.sql.HSQLDictionary; +import org.apache.openjpa.jdbc.sql.MySQLDictionary; import org.apache.openjpa.jdbc.sql.OracleDictionary; import org.apache.openjpa.lib.jdbc.AbstractJDBCListener; import org.apache.openjpa.lib.jdbc.JDBCEvent; @@ -174,7 +175,7 @@ public abstract class AbstractCriteriaTestCase extends TestCase { cSQL.size()); } - if (!(dict instanceof DerbyDictionary)) + if (!(dict instanceof DerbyDictionary || dict instanceof MySQLDictionary)) return; for (int i = 0; i < jSQL.size(); i++) {