One thing I found, and somebody else can probably tell me if what I am
doing is correct, but make sure types like Int are nullable in your
entity class if they are nullable in the database. Otherwise null
values in the database will become 0 when loaded making the entity
dirty without you expecting it.

Craig

On Mon, Apr 6, 2009 at 10:17 PM, James Crowley <[email protected]> wrote:
> Can anyone suggest what I might be doing wrong here? I'm seeing SQL updates
> to an entity (and its joined-subclass entities, as its part of a hirerachy),
> when the only thing that's been changed is a child collection
>

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