diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestInExpressionParamaterBinding.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestInExpressionParameterBinding.java similarity index 98% rename from openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestInExpressionParamaterBinding.java rename to openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestInExpressionParameterBinding.java index 72335a3ba..d5b6680f1 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestInExpressionParamaterBinding.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestInExpressionParameterBinding.java @@ -49,7 +49,7 @@ import org.apache.openjpa.persistence.test.SingleEMFTestCase; * @author Pinaki Poddar * */ -public class TestInExpressionParamaterBinding extends SingleEMFTestCase { +public class TestInExpressionParameterBinding extends SingleEMFTestCase { private static OpenJPAEntityManagerFactory _emf; private static List ORIGINAL_ZIPS; private OpenJPAEntityManager _em; @@ -61,6 +61,7 @@ public class TestInExpressionParamaterBinding extends SingleEMFTestCase { ORIGINAL_ZIPS = Arrays.asList(12345, 23456, 34567, 45678, 56789, 67890); createData(); } + getPreparedQueryCache().clear(); _em = _emf.createEntityManager(); } diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestMultithreadedReparametrization.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestMultithreadedReparameterization.java similarity index 98% rename from openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestMultithreadedReparametrization.java rename to openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestMultithreadedReparameterization.java index 541e259b7..dcec5edfb 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestMultithreadedReparametrization.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/sqlcache/TestMultithreadedReparameterization.java @@ -37,7 +37,7 @@ import org.apache.openjpa.persistence.OpenJPAPersistence; * @author Pinaki Poddar * */ -public class TestMultithreadedReparametrization extends TestCase { +public class TestMultithreadedReparameterization extends TestCase { private static String RESOURCE = "META-INF/persistence.xml"; private static String UNIT_NAME = "PreparedQuery"; protected static OpenJPAEntityManagerFactory emf;