where is the parent-child mapping ?

2009/10/27 jaspion <[email protected]>

>
> Hello,
>
> I have a many to one relationship where the key allows nulls,
> in NHibernate, when I try to update a child that was filled with the
> null value, the generated query put the old value in the child  rather
> than the null value.
> My mappings:
>
>                <many-to-one name="Zona" class="Zona" not-null="false" >
>                        <column name="idZona" not-null="false"/>
>                </many-to-one>
>
> What I have to do for hibernate set the right value in the child
> entity?
>
> Tks,
> []s
>
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to