"INSERT INTO PERSON (PERSON_ID, NAME, PERSON_TYPE) VALUES (2, 'E2', 'EM')"));
createDataContext().performGenericQuery(insert);
// fetch on leaf, but match on a super attribute
SelectQuery select = new SelectQuery(Manager.class);
select.andQualifier(ExpressionFactory.matchExp(AbstractPerson.NAME_PROPERTY, "E2"));
List<Manager> results = createDataContext().performQuery(select);
assertEquals(1, results.size());
assertEquals("E2", results.get(0).getName());
}