Hi!
I'm trying out Burrow on an existing project of mine. I have an IInterceptor implementation that I need to add somehow to the hibernate configuration object or pass to the session factory when a session is opened. How do I do that with Burrow?
I found how to do it. Implement IInterceptorFactory and provide the full class name to the implementation in the burrow configuration:
<add name="PersistenceUnit1" nh-config-file="NHibernate.cfg.xml" interceptorFactory="xxx.ConfigurableProducts.DataAccess.InterceptorFactory, xxx.ConfigurableProducts.DataAccess" />
Is there any example of burrow conversation+transaction in windows forms application????
I guess Burrow is just for asp.net (web apps), am I wrong?
I was trying to use burrow with mysql connectivity but following errors are coming up. Any help please
"The type initializer for 'NHibernate.Burrow.Impl.FrameworkEnvironment' threw an exception."
and page trace is saying.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized element 'persistantUnits'.
Source Error:
Line 14: </configSections>
Line 15: <NHibernate.Burrow>
Line 16: <persistantUnits>
Line 17: <add name="PersistenceUnit1" nh-config-file="~/hibernate.cfg.xml" autoUpdateSchema="true"/>
Line 18: </persistantUnits>