Works for MySQL

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881772 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2009-11-18 13:33:04 +00:00
parent f1451e5fd8
commit 96c723b3cb
1 changed files with 2 additions and 1 deletions

View File

@ -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++) {