Hi James,

Is there any chance you used a static method to directly access the underlying 
member variables without going through the overridden property/method?
http://broloco.blogspot.com/2008/01/nhibernate-identity-map-and-proxies.html

Or perhaps an 'internal' method that isn't marked as also protected?
http://nhjira.koah.net/browse/NH-1515

Just a thought.

Regards,
    Richard
  From: James Crowley 
  Sent: Monday, August 24, 2009 6:55 PM
  To: [email protected] 
  Subject: [nhusers] NHibernate proxy class not lazy loading itself?


  I'm seeing a strange issue whereby accessing a lazy-loaded property I only 
get the Proxy object that has clearly *not* lazy loaded - it has all its 
properties null, and just it's ID set. The row definitely exists in the table. 
Another lazy loaded property (that references an entity already in memory from 
elsewhere) appears fine... 


  Any idea why this might be happening or where I should be looking further to 
track the issue down?



  Thanks


  James


  

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