geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Boynes <jboy...@apache.org>
Subject Re: Adding EJB-QL to CMP beans
Date Thu, 21 Apr 2005 15:09:09 GMT
Katia Aresti Gonzalez wrote:
> Hi everybody!!
>  
> Im migrating a program with 3 CMP Beans. The thing it that to use de container 
> managed persistence, i need to add EJB-QL, because the examples, all of them 
> have finAll() or findByPromaryKey, and these doenst give any problems, the 
> problems are the other select.
>  
> What do I need to add EJB-QL support for CMP sql selects??
> thank you very much for your help!
>  

Assuming you have the basic fields mapped, you should just be able to 
specify the EJB-QL in the standard deployment descriptor; we will 
automatically convert that to the appropriate SQL.

--
Jeremy

Mime
View raw message