geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Aresti Gonzalez" <>
Subject Re: Adding EJB-QL to CMP beans
Date Thu, 21 Apr 2005 22:24:53 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>Thank you Jeremy!</P>
<DIV></DIV>&gt;From: Jeremy Boynes &lt;;
<DIV></DIV>&gt;Subject: Re: Adding EJB-QL to CMP beans
<DIV></DIV>&gt;Date: Thu, 21 Apr 2005 08:09:09 -0700
<DIV></DIV>&gt;Katia Aresti Gonzalez wrote:
<DIV></DIV>&gt;&gt;Hi everybody!!
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;Im migrating a program with 3 CMP
Beans. The thing it that to use
<DIV></DIV>&gt;&gt;de container managed persistence, i need to add EJB-QL,
because the
<DIV></DIV>&gt;&gt;examples, all of them have finAll() or findByPromaryKey,
and these
<DIV></DIV>&gt;&gt;doenst give any problems, the problems are the other
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;What do I need to add EJB-QL support
for CMP sql selects??
<DIV></DIV>&gt;&gt;thank you very much for your help!
<DIV></DIV>&gt;Assuming you have the basic fields mapped, you should just
be able
<DIV></DIV>&gt;to specify the EJB-QL in the standard deployment descriptor;
we will
<DIV></DIV>&gt;automatically convert that to the appropriate SQL.
<DIV></DIV></div><br clear=all><hr>Acepta el reto MSN Premium:
incluye Antivirus y Firewall de McAffee. <a href=""
target="_top">Descárgalo y pruébalo 2 meses gratis.</a> </html>

View raw message