Alex,

Thanks.  ok, well I'll post my problem then (o:

I have a SectionEJB, which has a relationship to itself (parent).  I'm
trying to have an ejbSelect method, as follows:

         <query>
            <query-method>
               <method-name>ejbSelectTopLevelSections</method-name>
               <method-params>
               </method-params>
            </query-method>
            <ejb-ql><![CDATA[SELECT OBJECT(s) FROM Section AS s WHERE
s.parent.name IS NULL]]></ejb-ql>
         </query>

the Section ejb has a name field.... hopefully what I'm trying to do is
fairly self-explanatory....  am I missing something simple/obvious?

cheers
dim

----- Original Message -----
From: "Alex Loubyansky" <[EMAIL PROTECTED]>
To: "Dmitri Colebatch" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, June 10, 2002 10:09 PM
Subject: Re: [JBoss-user] status of self-relationships in jboss3 final


> Hello Dmitri,
>
> I haven't tried 3.0 final but my self-relationships work fine on
> rc.1/2/3 and 3.1.0alpha.
>
> alex
>
> Monday, June 10, 2002, 3:03:49 PM, you wrote:
>
> DC> hey all,
>
> DC> before I go to far, does anyone know what the status of self
relationships are in jboss3 final?  I'm having a problem with an ejbSelect
method on an entity that has a n-1 relationship with
> DC> itself...
>
> DC> tia
> DC> dim
>
> --
> Best regards,
>  Alex Loubyansky
>
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to