Can I specify specific WHERE clauses for a find method in a CMP Entity Bean?

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.
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact