tags:

views:

370

answers:

1

I'm using NHibernate and getting an ProxyFactoryFactoryNotConfiguredException while calling _factory.BuildSessionFactory();. I have lazyness disabled by default and have no property that is mapped as lazy. Is the proxy factory needed anyway?

+2  A: 

This config setting is now mandatory, the link below discusses how to set this bit up.

http://nhforge.org/blogs/nhibernate/archive/2008/11/09/nh2-1-0-bytecode-providers.aspx

Andrew Hancox