public void SubQuery_Params() {
Param<String> aParam = new Param<String>(String.class, "param");
SQLSubQuery subQuery = new SQLSubQuery().from(employee).where(employee.firstname.eq(aParam));
subQuery.set(aParam, "Mike");
assertEquals(1, query().from(subQuery.list(Wildcard.all)).count());
}
@Test
@ExcludeIn(SQLITE)
public void SubQuery_RightJoin() {