assertTrue(flights3.isEmpty());
}
public void testMatchesQuery_InvalidLiteral() {
Query q = pm.newQuery("select from " + Book.class.getName() + " where title.matches('.*y')");
q.addExtension(DatastoreManager.QUERYEXT_INMEMORY_WHEN_UNSUPPORTED, "false");
try {
((List<?>) q.execute()).isEmpty();
fail("expected exception");
} catch (JDOUserException jdoe) {
if (jdoe.getCause() instanceof DatastoreQuery.UnsupportedDatastoreFeatureException) {