mirror of https://github.com/apache/openjpa.git
OPENJPA-806 : fix testcase: testGeneralCase & testParameter
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727107 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4cf216c21f
commit
13027e218c
|
@ -226,7 +226,7 @@ public class TestCriteria extends SingleEMFTestCase {
|
|||
+ " FROM Employee e"
|
||||
+ " WHERE e.department.name = 'Engineering'";
|
||||
|
||||
compare(jpql, e, "Case not supported");
|
||||
compare(jpql, e);
|
||||
}
|
||||
|
||||
public void testMemberOf() {
|
||||
|
@ -245,7 +245,7 @@ public class TestCriteria extends SingleEMFTestCase {
|
|||
|
||||
String jpql = "select c from Customer c " +
|
||||
" where c.status = :status";
|
||||
compare(jpql, qdef, null, "status", 1);
|
||||
compare(jpql, qdef, "status", 1);
|
||||
}
|
||||
|
||||
public void testBetween() {
|
||||
|
|
Loading…
Reference in New Issue