cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <>
Subject Re: How to use Join Queries
Date Sat, 26 Sep 2015 15:22:48 GMT
If everything is modeled correctly, your “Person” class should have an “addresses”
method that will return a List containing all related addresses.

- hugi

> On 26. sep. 2015, at 13:20, Dipesh Jain <> wrote:
> Hii Hugi
> I am using Cayenne 3.1. You are assuming correctly. I do have mapped table
> ids but not with foreign key constraint, so I can not use foreign key
> constraint for mapping. And in this code where are you comparing two
> entities there is just person class hows it using join with address table.

View raw message