<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Making NHibernate Burrow work with NHibernate 2.1</title>
	<atom:link href="http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/</link>
	<description>Complexity through Simplicity</description>
	<lastBuildDate>Tue, 13 Jul 2010 07:25:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Erik Burger</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-186</link>
		<dc:creator>Erik Burger</dc:creator>
		<pubDate>Sun, 13 Jun 2010 13:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-186</guid>
		<description>Thanks for that sss, that&#039;s a great help!</description>
		<content:encoded><![CDATA[<p>Thanks for that sss, that&#8217;s a great help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sss</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-185</link>
		<dc:creator>sss</dc:creator>
		<pubDate>Thu, 10 Jun 2010 14:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-185</guid>
		<description>For everyone interested, I have compiled Burrow for use with NHibernate 2.1.2.4000 using the instructions from David. You can download it here:

http://depositfiles.com/files/uusw4aita

It contains:

NHibernate.Burrow.AppBlock.dll
NHibernate.Burrow.dll
NHibernate.Burrow.WebUtil.dll
NHibernate.JetDriver.dll

I have also included NHibernate.JetDriver compiled against NHibernate 2.1.2.4000. Most people won&#039;t need it, it&#039;s a Driver for using NHibernate with Microsoft Access, but maybe someone will find it useful. If you don&#039;t use Microsoft Access, delete this file.

Remove all assembly redirects regarding NHibernate from your web.config / app.config file, you won&#039;t need them any more with these dll files.

For any questions email filzstiftegmxde</description>
		<content:encoded><![CDATA[<p>For everyone interested, I have compiled Burrow for use with NHibernate 2.1.2.4000 using the instructions from David. You can download it here:</p>
<p><a href="http://depositfiles.com/files/uusw4aita" rel="nofollow">http://depositfiles.com/files/uusw4aita</a></p>
<p>It contains:</p>
<p>NHibernate.Burrow.AppBlock.dll<br />
NHibernate.Burrow.dll<br />
NHibernate.Burrow.WebUtil.dll<br />
NHibernate.JetDriver.dll</p>
<p>I have also included NHibernate.JetDriver compiled against NHibernate 2.1.2.4000. Most people won&#8217;t need it, it&#8217;s a Driver for using NHibernate with Microsoft Access, but maybe someone will find it useful. If you don&#8217;t use Microsoft Access, delete this file.</p>
<p>Remove all assembly redirects regarding NHibernate from your web.config / app.config file, you won&#8217;t need them any more with these dll files.</p>
<p>For any questions email filzstiftegmxde</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Burger</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-157</link>
		<dc:creator>Erik Burger</dc:creator>
		<pubDate>Fri, 07 May 2010 07:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-157</guid>
		<description>Hi Jay,

No problem, you are very welcome.

Erik</description>
		<content:encoded><![CDATA[<p>Hi Jay,</p>
<p>No problem, you are very welcome.</p>
<p>Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Bohac</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-156</link>
		<dc:creator>Jay Bohac</dc:creator>
		<pubDate>Thu, 06 May 2010 17:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-156</guid>
		<description>Hey Erik,  

I ended up recompiling Burrow with the newer version of Nhibernate (2.1) and used the comments from David Carr, and it works fine now.  Thanks for the info!

-Jay</description>
		<content:encoded><![CDATA[<p>Hey Erik,  </p>
<p>I ended up recompiling Burrow with the newer version of Nhibernate (2.1) and used the comments from David Carr, and it works fine now.  Thanks for the info!</p>
<p>-Jay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Burger</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-136</link>
		<dc:creator>Erik Burger</dc:creator>
		<pubDate>Thu, 01 Apr 2010 14:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-136</guid>
		<description>Hi Jay,

I am not sure I understand your problem 100% but I do not use Burrow&#039;s xxxWorkspace methods in my unit test code. In my setup I use &lt;strong&gt;new BurrowFramework().GetSession()&lt;/strong&gt; to create a session, then in my teardown I use &lt;strong&gt;session.Close()&lt;/strong&gt; and &lt;strong&gt;session.Dispose()&lt;/strong&gt; to clean up. Perhaps using that method resolves your problem?

Erik</description>
		<content:encoded><![CDATA[<p>Hi Jay,</p>
<p>I am not sure I understand your problem 100% but I do not use Burrow&#8217;s xxxWorkspace methods in my unit test code. In my setup I use <strong>new BurrowFramework().GetSession()</strong> to create a session, then in my teardown I use <strong>session.Close()</strong> and <strong>session.Dispose()</strong> to clean up. Perhaps using that method resolves your problem?</p>
<p>Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Bohac</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-132</link>
		<dc:creator>Jay Bohac</dc:creator>
		<pubDate>Wed, 31 Mar 2010 16:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-132</guid>
		<description>Hey Erik,

This page has been tremedously helpful (just started using nhibernate). I have an issue in my unit test teardown when i call the BurrowFramwork method CloseWorkspace and it just hangs and never finishes.  Any Ideas? I can retrieve &quot;A&quot; object from a unit test just fine, but it hangs after retrieving &quot;B&quot; object.  I&#039;m using Nhibernate 2.1 with Fluent and Burrow.   Thanks.

-Jay</description>
		<content:encoded><![CDATA[<p>Hey Erik,</p>
<p>This page has been tremedously helpful (just started using nhibernate). I have an issue in my unit test teardown when i call the BurrowFramwork method CloseWorkspace and it just hangs and never finishes.  Any Ideas? I can retrieve &#8220;A&#8221; object from a unit test just fine, but it hangs after retrieving &#8220;B&#8221; object.  I&#8217;m using Nhibernate 2.1 with Fluent and Burrow.   Thanks.</p>
<p>-Jay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Koss</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-120</link>
		<dc:creator>Kyle Koss</dc:creator>
		<pubDate>Thu, 11 Feb 2010 19:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-120</guid>
		<description>Just thought I&#039;d mention the problem I had when building Burrow against NHibernate 2.1. It seems that if you have Burrow configured to use more than one database it doesn&#039;t work. I kept getting the &#039;NHibernate.MappingException: No persister for: &#039; error, and I couldn&#039;t figure out what I had done wrong. So, I downloaded NHibernate 2.0, and set it up with that, and it worked fine.</description>
		<content:encoded><![CDATA[<p>Just thought I&#8217;d mention the problem I had when building Burrow against NHibernate 2.1. It seems that if you have Burrow configured to use more than one database it doesn&#8217;t work. I kept getting the &#8216;NHibernate.MappingException: No persister for: &#8216; error, and I couldn&#8217;t figure out what I had done wrong. So, I downloaded NHibernate 2.0, and set it up with that, and it worked fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Burger</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-104</link>
		<dc:creator>Erik Burger</dc:creator>
		<pubDate>Wed, 16 Dec 2009 12:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-104</guid>
		<description>Hi David,

Thank you very much for your input! I am positive it will indeed help out some.

Regards,

Erik</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>Thank you very much for your input! I am positive it will indeed help out some.</p>
<p>Regards,</p>
<p>Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Carr</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-103</link>
		<dc:creator>David Carr</dc:creator>
		<pubDate>Wed, 16 Dec 2009 12:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-103</guid>
		<description>Hi Erik,

Just to confirm that there are a few breaking changes; one in the Burrow dll and three in Burrow.AppBlock dll (you may not use the latter).

In Burrow:

On line 51 of PersistenceUnitRepo.cs.  Just remove the extra &#039;false&#039; parameter on the method. The GetEntityPersister method seems to take only one argument in the 2.1 version of NHibernate. 

In Burrow.AppBlock:

On line 63 of PaginableCriteria.cs change &#039;cloned.Orders.Clear();&#039; to &#039;cloned.ClearOrders();&#039;

On line 307 of GenericDAO.cs change &#039;c.Orders.Clear();&#039; to &#039;c.ClearOrders();&#039;

There&#039;s also an interface (AbstractCriterion) which has been extended in the new NHibernate to include a GetProjections() method, so you need to add the extra method on EqOrNullExpression, which implements this.

public override IProjection[] GetProjections()
{
   return null;
}


If you have Visual Studio it&#039;s pretty easy to download the source, change the reference to NHibernate to the newer version and recompile with the four changes.

I hope this helps someone

David</description>
		<content:encoded><![CDATA[<p>Hi Erik,</p>
<p>Just to confirm that there are a few breaking changes; one in the Burrow dll and three in Burrow.AppBlock dll (you may not use the latter).</p>
<p>In Burrow:</p>
<p>On line 51 of PersistenceUnitRepo.cs.  Just remove the extra &#8216;false&#8217; parameter on the method. The GetEntityPersister method seems to take only one argument in the 2.1 version of NHibernate. </p>
<p>In Burrow.AppBlock:</p>
<p>On line 63 of PaginableCriteria.cs change &#8216;cloned.Orders.Clear();&#8217; to &#8216;cloned.ClearOrders();&#8217;</p>
<p>On line 307 of GenericDAO.cs change &#8216;c.Orders.Clear();&#8217; to &#8216;c.ClearOrders();&#8217;</p>
<p>There&#8217;s also an interface (AbstractCriterion) which has been extended in the new NHibernate to include a GetProjections() method, so you need to add the extra method on EqOrNullExpression, which implements this.</p>
<p>public override IProjection[] GetProjections()<br />
{<br />
   return null;<br />
}</p>
<p>If you have Visual Studio it&#8217;s pretty easy to download the source, change the reference to NHibernate to the newer version and recompile with the four changes.</p>
<p>I hope this helps someone</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Burger</title>
		<link>http://www.reversealchemy.net/blog/2009/08/28/making-nhibernate-burrow-work-with-nhibernate-2-1/comment-page-1/#comment-86</link>
		<dc:creator>Erik Burger</dc:creator>
		<pubDate>Wed, 30 Sep 2009 09:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.reversealchemy.net/?p=238#comment-86</guid>
		<description>Hi Luca,

I am glad you got it working though I am still stumped as to why it does work for me. Of course, the excuse &quot;it works on my machine&quot; totally doesn&#039;t apply ;) so I will look into it some more as soon as my calendar frees up a bit. If I find anything I&#039;ll be sure to update my post.

Cheers,
Erik</description>
		<content:encoded><![CDATA[<p>Hi Luca,</p>
<p>I am glad you got it working though I am still stumped as to why it does work for me. Of course, the excuse &#8220;it works on my machine&#8221; totally doesn&#8217;t apply <img src='http://www.reversealchemy.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  so I will look into it some more as soon as my calendar frees up a bit. If I find anything I&#8217;ll be sure to update my post.</p>
<p>Cheers,<br />
Erik</p>
]]></content:encoded>
	</item>
</channel>
</rss>
