Hi again,

Wherever you implement your finder, it should work.

The rule is:

If the relation is a one side, you navigate in the WHERE clause A.B.C.fieldC

If the relation is a many side, you navigate in the FROM clause like in your query
SELECT Object( c ) FROM myA a, IN(a.myBdetails) AS b, IN(b.myCdetails) AS c, 
IN(c.myCdetails) AS d WHERE...  

I did not myself try to navigate in the FROM clause. I just test the deployment, it is 
OK: this means that the EJB-QL parser is OK too.
Please, let me know if it works.

Pascal


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834508#3834508

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834508


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to