@Test
@NoBatooJPA
@NoEclipseLink
public void EntityQueries5() {
QCat catEntity = QCat.cat;
SAnimal otherCat = new SAnimal("otherCat");
QCat otherCatEntity = new QCat("otherCat");
List<Tuple> cats = query().from(cat, otherCat).list(catEntity, otherCatEntity);
assertEquals(36, cats.size());
for (Tuple tuple : cats) {
assertTrue(tuple.get(catEntity) instanceof Cat);