Hi Stefan, I was faced with the same problem. The bug is fixed in the main 
development path of NHibernate but it doesn't seem to be ported to the 3.X 
version. I posted the issue in this diskussion Lazy property issue NH-3058 
in NHibernate 
3<https://groups.google.com/d/topic/nhibernate-development/sJmuqXvvSPU/discussion>and
 I described a workaround for lazy properties.
I hope this will help you.

Am Donnerstag, 6. Juni 2013 11:08:18 UTC+2 schrieb Stefan Szasz:
>
> I have an object that is mapped to a 'text' column in the database that I 
> use to store a big Xml document. Since I don't really want to load this xml 
> all the time, I marked this property as lazy loaded.
> The odd thing is that after I make some changes to this entity and commit 
> the transaction, the changes are not persisted in the database. Removing 
> the .LazyLoad from the mapping, I see the changes going through the 
> database and all works fine. 
>
> Also, posted this question on SO:
>
> http://stackoverflow.com/questions/16940771/nhibernate-doesnt-persist-changes-when-i-mark-a-property-as-lazy-loaded
>
> I'm using NH 3.3.3.4000.
> From what I hear, this seems to be a known issue that (perhaps) is solved 
> in a new version? Am I correct? If so, when will this version be available?
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to