geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Aresti Gonzalez" <kaare...@hotmail.com>
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>
<P>Katia<BR><BR></P></DIV>
<DIV></DIV>&gt;From: Jeremy Boynes &lt;jboynes@apache.org&gt;
<DIV></DIV>&gt;Reply-To: user@geronimo.apache.org
<DIV></DIV>&gt;To: user@geronimo.apache.org
<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;
<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
select.
<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;&gt;
<DIV></DIV>&gt;
<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>&gt;
<DIV></DIV>&gt;--
<DIV></DIV>&gt;Jeremy
<DIV></DIV></div><br clear=all><hr>Acepta el reto MSN Premium:
incluye Antivirus y Firewall de McAffee. <a href="http://g.msn.com/8HMBESES/2731??PS=47575"
target="_top">Descárgalo y pruébalo 2 meses gratis.</a> </html>


Mime
View raw message