Lazy property loading in Nhibernate and Spring

Posted by Khash on Stack Overflow See other posts from Stack Overflow or by Khash
Published on 2010-04-03T20:02:38Z Indexed on 2010/04/03 20:03 UTC
Read the original article Hit count: 361

Filed under:
|

I'm using NHibernate 2.1.2 and Spring 1.3

I have two Text columns (blobs) in one of my classes. I'm trying to use lazy="true" for the mapping of those properties but NHProfiler still shows the two columns being added to the SELECT statement when the main object is loaded.

I'm using Spring.NHibernate session factory and have configured ProxyFactory with both Castle and Spring with no luck.

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about spring.net