skip to the main content area of this page
Patterns and Practices

 

NHibernate 2.1.0 Alpha 1 Released - Choose Preferred Dynamic Proxy Framework


NHibernate 2.1.0 Alpha 1 was released over the weekend. You can download NHibernate 2.1.0 Alpha 1 here.

They removed a dependency on Castle DynamicProxy which means you now need to configure NHibernate with the Dynamic Proxy Framework of your choice. Currently three are available that I know of:

  • Castle DynamicProxy
  • Linfu DynamicProxy
  • Spring DynamicProxy

If you forget to configure the DynamicProxy with NHibernate 2.1.0, you will get an error telling you to do so:

 

"The ProxyFactoryFactory was not configured. Initialize 'proxyfactory.factory_class' property of the session-factory configuration section with one of the available NHibernate.ByteCode providers."

 

Check out Davy Brion's post which has some information on this.

 

NHibernate Tutorials


Tags: NHibernate, ORMapper


Topics



 

Popular Tags



Recent Links