Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ProxyFactoryFactoryNotConfiguredException, while lazy is false

Tags:

nhibernate

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?

like image 590
user125707 Avatar asked Feb 17 '26 05:02

user125707


1 Answers

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

http://nhibernate.info/blog/2008/11/09/nh2-1-0-bytecode-providers.html

like image 190
Andrew Hancox Avatar answered Feb 20 '26 13:02

Andrew Hancox