It doesn't know.
You have to tell it explicitly.
You can set a <version/> instead, which will let it know

On Fri, Sep 26, 2008 at 12:46 PM, Luis Abreu <[EMAIL PROTECTED]> wrote:

>
> Hello guys.
>
> quick question: how does nhibernate know when an entity that has an id
> set up by the app (uses the assigned generator) is dirty and needs to
> be persistent? I'm having a problem where a class has a collection of
> entities with assigned ids and the saving operation isn't being
> propagated to that collection of entities...
>
> thanks
>
> --
> Regards,
> Luis Abreu
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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