public void testEqualWithAttributeAndLiteral() {
String jpql = "select a from Account a where a.balance=100";
CriteriaQuery c = cb.createQuery();
Root<Account> account = c.from(Account.class);
c.select(account).where(cb.equal(account.get(Account_.balance), 100));
assertEquivalence(c, jpql);
}
public void testEqualWithAttributeAndAttribute() {