You may want to have a look at this page :

http://db.apache.org/torque/peers-howto.html (at the bottom of the page)

the part named "Examples" seems to be what you want ...

SaM

Cristian Zoicas wrote:

Hello all

I've tried to figure out how to use the Criteria class in
order to obtain a statement like

SELECT
      *
FROM
      T1, T2, T3
WHERE
      ( T1.id_t1= T2.id_t1 AND T2.id_t3 = T3.id_t3 )
      OR
      ( T1.id_t3 = T3.id_t3 )

but I was not able to do it.
Does anybody has any solution ?

Thank you in advance
Cristian Zoicas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to