cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dipesh Jain <dip...@ivgroup.in>
Subject How to use Join Queries
Date Sat, 26 Sep 2015 07:04:05 GMT
I have searched example for SQL joins using apache cayenne but I found
nothing. How can i use selectQuery with Expression for JOINs or I have to
use SQLTemplete or EJBQL Query.

Like I have a query -
" Select p.name, a.address from Person p RIGHT OUTER JOIN Address a ON
p.personId = a.personId  where p.name LIKE 'Deep%' AND p.age > 18 "

then to write it in cayenne ?

-- 
Thanks and Regards
Deepesh Jain

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message