3

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
  • im too, but it look like i need move to EF or Linq2SQL instead of hibernate :( Commented Jul 21, 2009 at 13:20
  • You still need to have a proxy factory available to NHibernate, even if it don't use it. Commented Dec 11, 2009 at 12:48

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.