Are you also actually reloading the objects? NHibernate will typically not
modify your existing objects once they are loaded.

/Oskar


2013/5/26 Atilla İlhan KARTAL <[email protected]>

> Dear All;
>
> We are working with nhibernate on a winform project. We are using a grid
> to list objects. When we try to run application on two different computers,
> the grid doesn't refresh values. When a user changes something on the list,
> even if the other user refreshes the grid, it doesn't show the updated
> values. The database is updating, though.
>
> We tried Session.Clear(), Session.Evict(),
> Session.SessionFactory.Evict(typeof(object)),
> Session.QueryOver().CacheMode(Refresh / Ignore)... But none of them seems
> to be working. We are getting lazy load exceptions. What can we do about it?
>
> Thank you for your help in advance.
>
> Best Regards,
>
> --
> Atilla İlhan KARTAL
> Web Application & Software Architect
> (Java & PHP & Registered Android Developer)
> Kuşadası / Aydın / Turkey
> www.atillailhankartal.com.tr
> twitter.com/TrojanMyth
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to