}
public void testParamater() {
QueryDefinition qdef = qb.createQueryDefinition();
DomainObject customer = qdef.addRoot(Customer.class);
qdef.where(customer.get("status").equal(qdef.param("status")));
String jpql = "select c from Customer c " +
" where c.status = :status";
compare(jpql, qdef, "status", 1);
}