OPENJPA-1265: move test case

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808401 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2009-08-27 12:38:33 +00:00
parent f06d862ec6
commit 39da6319dd
1 changed files with 0 additions and 11 deletions

View File

@ -186,17 +186,6 @@ public class TestEdit extends CriteriaTest {
assertFails("Expected to fail without a defined root", c);
}
// public void testDateString() {
// String jpql = "select d from Dependent d where d.endDate >= {d '2009-08-25'}";
// CriteriaQuery<Dependent> c = cb.createQuery(Dependent.class);
// Root<Dependent> d = c.from(Dependent.class);
//
// c.where(cb.greaterThanOrEqualTo(d.get(Dependent_.endDate), cb.literal("{d '2009-08-25'}").as(Date.class)));
//
// assertEquivalence(c, jpql);
// }
void assertFails(String message, CriteriaQuery<?> c) {
try {
em.createQuery(c);