cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: one-to-many problem
Date Tue, 13 May 2008 12:04:03 GMT

On May 12, 2008, at 10:18 PM, Scott Anderson wrote:

> Seems like a pointless annotation; vaguely equivalent to the reverse  
> of the relationship being ON DELETE CASCADE.

Not really. It tells Cayenne which table owns the PK and which table  
borrows it from master. E.g. consider many-to-many cases with a join  
table.

Andrus

Mime
View raw message