Can I specify specific WHERE clauses for a find method in a CMP Entity Bean?
Created May 4, 2012
sachin mahishi The EJB query language is totally vendor specific in EJB1.1. It is being standardized in 1.2.
Yes, you can specify the where clause for a find method. This is the example for EJB's deployed on weblogic:
findBigAccounts(double balanceGreaterThan): "(> balance $balanceGreaterThan)"where balance maps to some field in the table.