assertEquals(employee.firstname, exprs.get(2));
}
@Test
public void List_Entity() {
QEmployee employee2 = new QEmployee("employee2");
SQLSubQuery query = new SQLSubQuery();
Expression<?> expr = query.from(employee)
.innerJoin(employee.superiorIdKey, employee2)
.list(employee, employee2.id);