cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Writable FKs
Date Wed, 20 Oct 2010 07:28:19 GMT

On Oct 19, 2010, at 10:36 AM, Borut BolĨina wrote:

> This way using
> 
> street.setTown(localTown);
> 
> does not set the relationship, it inserts NULL for town_id FK in the streets
> table. Or did you mean something else?


Probably (?) didn't quite get the explanation of your mapping. Anyways, have you tried setting
meaningful FK, mapped as an ObjAttribute? 

Andrus


Mime
View raw message