I am trying convert this JPA QL to criteria builder. JBoss 6.0.
\"SELECT ba FROM BankAccount ba WHERE ba.balance >= :amt ORDER BY ba.ownerName ASC\"
The compiler is complaining because amount is an int, not an Expression, see if you can figure out how to build an Expression that's a constant and use that and you should be good.
amount
int
Expression