I had a similar problem. Not sure if this applies here but with NULL
columns in the database (excluding nvarchar/string), making the
properties on the entity nullable types (ie int? or DateTime?)
resolved the unexpected update.

On Jan 29, 8:06 am, Mark Jensen <[email protected]> wrote:
> Hi
>
> If i fetch something from the database, dont make any changes and then
> save my entity. I would expect that no UPDATE statements gets called.
> How this doesn't seem to be the case.
>
> I found this post from a guy you had the same problem, but only with
> NH
>
> http://ahmedshuhel.blogspot.com/2011/01/nhibernate-send-update-querie...
>
> And i have tried to add "Not-Null=true" to all the attributes on my
> entity, but not luck, I stille get an UPDATE statement.
>
> Is there something wrong with AR or am i missing something?
>
> br
> Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to