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

Reply via email to