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?
-
im too, but it look like i need move to EF or Linq2SQL instead of hibernate :(Sasha– Sasha2009-07-21 13:20:13 +00:00Commented Jul 21, 2009 at 13:20
-
You still need to have a proxy factory available to NHibernate, even if it don't use it.James Gregory– James Gregory2009-12-11 12:48:18 +00:00Commented Dec 11, 2009 at 12:48
Add a comment
|
1 Answer
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