NHibernate Forge
The official new home for the NHibernate for .NET community

Comments: FAQ

Comments (7)
History (12)

FAQ

Sort by: Published Date | Most Recent | Most Useful
1 2 Next >
By: Peter Albertsson Posted on 10-31-2008 8:04

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?

By: Peter Albertsson Posted on 10-31-2008 11:29

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" />

By: Paulo Roberto Quicoli Posted on 04-17-2009 10:49

Is there any example of burrow conversation+transaction  in windows forms application????

By: Cesar Sanz Posted on 06-02-2009 21:44

I guess Burrow is just for asp.net (web apps), am I wrong?

By: Riaz Posted on 02-15-2011 12:32

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>

Powered by Community Server (Commercial Edition), by Telligent Systems