<?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: Upgrading To NHibernate 2.1</title> <atom:link href="http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/feed/" rel="self" type="application/rss+xml" /><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/</link> <description>inquisitive: adjective. given to inquiry, research, or asking questions; eager for knowledge; intellectually curious</description> <lastBuildDate>Sun, 20 May 2012 21:55:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Krokonoster</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-42241</link> <dc:creator>Krokonoster</dc:creator> <pubDate>Wed, 16 Jun 2010 20:59:12 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-42241</guid> <description>I&#039;m curious to know the benefits of the various proxies over each other.
Anyone got some resources regarding that?</description> <content:encoded><![CDATA[<p>I&#8217;m curious to know the benefits of the various proxies over each other.<br
/> Anyone got some resources regarding that?</p> ]]></content:encoded> </item> <item><title>By: Upgrading to NHibernate 2.1 for new Validators! &#171; Geospecialling</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-34429</link> <dc:creator>Upgrading to NHibernate 2.1 for new Validators! &#171; Geospecialling</dc:creator> <pubDate>Tue, 30 Mar 2010 23:11:56 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-34429</guid> <description>[...] In addition to the Castly proxy, there is a new LinFu proxy available too.&#160;&#160; Don’t bother with NHibernate the release notes! , Davy Brion has it all for you here [...]</description> <content:encoded><![CDATA[<p>[...] In addition to the Castly proxy, there is a new LinFu proxy available too.&#160;&#160; Don’t bother with NHibernate the release notes! , Davy Brion has it all for you here [...]</p> ]]></content:encoded> </item> <item><title>By: Bruno</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-31922</link> <dc:creator>Bruno</dc:creator> <pubDate>Sun, 14 Mar 2010 13:11:52 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-31922</guid> <description>Hi,I put the NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle in hibernate.cfg.xml file, and the reference NHibernate.ByteCode.Castle.dll, but shows this error yet:The ProxyFactoryFactory was not configured.
Initialize &#039;proxyfactory.factory_class&#039; property of the session-factory configuration section with one of the available NHibernate.ByteCode providers.
Example:
NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu
Example:
NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.CastleIs the same error of your post. What do you think that is happenning?</description> <content:encoded><![CDATA[<p>Hi,</p><p>I put the NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle in hibernate.cfg.xml file, and the reference NHibernate.ByteCode.Castle.dll, but shows this error yet:</p><p>The ProxyFactoryFactory was not configured.<br
/> Initialize &#8216;proxyfactory.factory_class&#8217; property of the session-factory configuration section with one of the available NHibernate.ByteCode providers.<br
/> Example:<br
/> NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu<br
/> Example:<br
/> NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</p><p>Is the same error of your post. What do you think that is happenning?</p> ]]></content:encoded> </item> <item><title>By: Gilberto</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-28051</link> <dc:creator>Gilberto</dc:creator> <pubDate>Wed, 10 Feb 2010 20:27:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-28051</guid> <description>I couldn&#039;t find the hibernate.cfg.xml file in my machine. Where is it located?
Thanks!</description> <content:encoded><![CDATA[<p>I couldn&#8217;t find the hibernate.cfg.xml file in my machine. Where is it located?<br
/> Thanks!</p> ]]></content:encoded> </item> <item><title>By: Vic</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-22903</link> <dc:creator>Vic</dc:creator> <pubDate>Mon, 09 Nov 2009 14:20:47 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-22903</guid> <description>I found the solution:
MsSqlConfiguration.MsSql2005.ConnectionString(c =&gt; c.Is(connectionstring)).ProxyFactoryFactory(&quot;NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle&quot;);</description> <content:encoded><![CDATA[<p>I found the solution:<br
/> MsSqlConfiguration.MsSql2005.ConnectionString(c =&gt; c.Is(connectionstring)).ProxyFactoryFactory(&#8220;NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle&#8221;);</p> ]]></content:encoded> </item> <item><title>By: Vic</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-22902</link> <dc:creator>Vic</dc:creator> <pubDate>Mon, 09 Nov 2009 14:00:13 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-22902</guid> <description>Hi,I&#039;m using Fluent NHibernate. Where i should add the line ?</description> <content:encoded><![CDATA[<p>Hi,</p><p>I&#8217;m using Fluent NHibernate. Where i should add the line ?</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-22427</link> <dc:creator>Mike</dc:creator> <pubDate>Wed, 02 Sep 2009 06:27:47 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-22427</guid> <description>Thanks, exactly what I needed!</description> <content:encoded><![CDATA[<p>Thanks, exactly what I needed!</p> ]]></content:encoded> </item> <item><title>By: Nigrita</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-22339</link> <dc:creator>Nigrita</dc:creator> <pubDate>Wed, 26 Aug 2009 09:34:07 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-22339</guid> <description>Thx, man. Your article solve my problem )</description> <content:encoded><![CDATA[<p>Thx, man. Your article solve my problem )</p> ]]></content:encoded> </item> <item><title>By: Jack</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-22284</link> <dc:creator>Jack</dc:creator> <pubDate>Thu, 20 Aug 2009 03:36:08 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-22284</guid> <description>There are many dependency, and we do have 2 choice:
1. NHibernate.ByteCode.LinFu.ProxyFactoryFactory
2. NHibernate.ByteCode.Castle.ProxyFactoryFactory</description> <content:encoded><![CDATA[<p>There are many dependency, and we do have 2 choice:<br
/> 1. NHibernate.ByteCode.LinFu.ProxyFactoryFactory<br
/> 2. NHibernate.ByteCode.Castle.ProxyFactoryFactory</p> ]]></content:encoded> </item> <item><title>By: Frederik Gheysels</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-20830</link> <dc:creator>Frederik Gheysels</dc:creator> <pubDate>Thu, 25 Jun 2009 08:11:13 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-20830</guid> <description>Stupid me has solved the problem 8)7(No, the problem was not related to Antlr3; the exception really said that NHibernate or one of its assemblies could not be loaded).
In my configSection, I did not specify an exact version.  I have referenced the NHibernate assembly from the GAC.  Copy local has been set to false on my reference; apparently, the CLR was not able to exactly determine which NHibernate assembly should be loaded.  So, I&#039;ve solved it by setting &#039;Copy Local&#039; to true on my NHibernate reference).Anyway, interesting blog. :)</description> <content:encoded><![CDATA[<p>Stupid me has solved the problem 8)7</p><p>(No, the problem was not related to Antlr3; the exception really said that NHibernate or one of its assemblies could not be loaded).<br
/> In my configSection, I did not specify an exact version.  I have referenced the NHibernate assembly from the GAC.  Copy local has been set to false on my reference; apparently, the CLR was not able to exactly determine which NHibernate assembly should be loaded.  So, I&#8217;ve solved it by setting &#8216;Copy Local&#8217; to true on my NHibernate reference).</p><p>Anyway, interesting blog. <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-20827</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Thu, 25 Jun 2009 07:51:51 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-20827</guid> <description>http://code.google.com/p/sharp-architecture/issues/detail?id=111#c0is that what you&#039;re getting?</description> <content:encoded><![CDATA[<p><a
href="http://code.google.com/p/sharp-architecture/issues/detail?id=111#c0" rel="nofollow">http://code.google.com/p/sharp-architecture/issues/detail?id=111#c0</a></p><p>is that what you&#8217;re getting?</p> ]]></content:encoded> </item> <item><title>By: Frederik Gheysels</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-20826</link> <dc:creator>Frederik Gheysels</dc:creator> <pubDate>Thu, 25 Jun 2009 07:49:37 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-20826</guid> <description>Hmm, I&#039;m trying to migrate my application to NH2.1 beta, and the first error that comes accross is that the type initializer has thrown an exception while creating the configuration-section handler for hibernate-configuration.
It cannot load the NHibernate assembly, or one of its dependencies ...  Strange, it seems that this is an error I have that is not related with the proxy-factory issue, since I&#039;ve added this additional property to my Cfg file (and I&#039;ve added a reference to the desired file as well ... )
(I&#039;ve never received the exception that you&#039;ve mentionned, the first exception that I&#039;ve been given, is the &#039;FileNotFoundException&#039;).</description> <content:encoded><![CDATA[<p>Hmm, I&#8217;m trying to migrate my application to NH2.1 beta, and the first error that comes accross is that the type initializer has thrown an exception while creating the configuration-section handler for hibernate-configuration.<br
/> It cannot load the NHibernate assembly, or one of its dependencies &#8230;  Strange, it seems that this is an error I have that is not related with the proxy-factory issue, since I&#8217;ve added this additional property to my Cfg file (and I&#8217;ve added a reference to the desired file as well &#8230; )<br
/> (I&#8217;ve never received the exception that you&#8217;ve mentionned, the first exception that I&#8217;ve been given, is the &#8216;FileNotFoundException&#8217;).</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-11184</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Fri, 03 Apr 2009 21:28:40 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-11184</guid> <description>@Aaronyou can use the web.config to store nhibernate configuration settings but the format is slightly different.  Using the hibernate.cfg.xml config file is typically the easiest solution, just make sure it&#039;s marked as content and is copied to the build output.</description> <content:encoded><![CDATA[<p>@Aaron</p><p>you can use the web.config to store nhibernate configuration settings but the format is slightly different.  Using the hibernate.cfg.xml config file is typically the easiest solution, just make sure it&#8217;s marked as content and is copied to the build output.</p> ]]></content:encoded> </item> <item><title>By: Aaron Croyle</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-11157</link> <dc:creator>Aaron Croyle</dc:creator> <pubDate>Fri, 03 Apr 2009 18:11:49 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-11157</guid> <description>@DavyI&#039;m new to NHibernate as well, and have my config stuff in web.config. I do not have a hibernate.cfg.xml file, other settings seem to get loaded from web.config, but this does not.</description> <content:encoded><![CDATA[<p>@Davy</p><p>I&#8217;m new to NHibernate as well, and have my config stuff in web.config. I do not have a hibernate.cfg.xml file, other settings seem to get loaded from web.config, but this does not.</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-10422</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Tue, 24 Mar 2009 12:35:52 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-10422</guid> <description>that property needs to be added to the hibernate.cfg.xml file, like it says in the post...</description> <content:encoded><![CDATA[<p>that property needs to be added to the hibernate.cfg.xml file, like it says in the post&#8230;</p> ]]></content:encoded> </item> <item><title>By: Biju Thomas</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-10421</link> <dc:creator>Biju Thomas</dc:creator> <pubDate>Tue, 24 Mar 2009 12:31:01 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-10421</guid> <description>Hi,Am new to NHibernate development.
Can u sepecify how we can use NHibernate in our app and what configuarion are requred for NHibernate 2.1 Alpha. Am getting the error mentioned above and i dont know where to configure the property.Thanks in advance</description> <content:encoded><![CDATA[<p>Hi,</p><p>Am new to NHibernate development.<br
/> Can u sepecify how we can use NHibernate in our app and what configuarion are requred for NHibernate 2.1 Alpha. Am getting the error mentioned above and i dont know where to configure the property.</p><p>Thanks in advance</p> ]]></content:encoded> </item> <item><title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #307</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-9963</link> <dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #307</dc:creator> <pubDate>Mon, 16 Mar 2009 08:16:09 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-9963</guid> <description>[...] Upgrading To NHibernate 2.1 - Davy Brion looks at the the additional configuration requirement of NHibernate 2.1 over version 2.0, the ability (and requirement) for you to specify which proxy implementation you want, allowing you to choose what library to take dependency on. [...]</description> <content:encoded><![CDATA[<p>[...] Upgrading To NHibernate 2.1 &#8211; Davy Brion looks at the the additional configuration requirement of NHibernate 2.1 over version 2.0, the ability (and requirement) for you to specify which proxy implementation you want, allowing you to choose what library to take dependency on. [...]</p> ]]></content:encoded> </item> <item><title>By: Dylan Beattie</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-9933</link> <dc:creator>Dylan Beattie</dc:creator> <pubDate>Sun, 15 Mar 2009 17:21:41 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-9933</guid> <description>We hit this exact issue last week - but we&#039;re using ASP.NET MVC and the MvcContrib library in conjunction with Castle ActiveRecord, and immediately following the upgrade, the only error message we got was:&lt;blockquote&gt;System.ExecutionEngineException was unhandled
Message &quot;Exception of type &#039;System.ExecutionEngineException&#039; was thrown.&quot;&lt;/blockquote&gt;According to &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.executionengineexception.aspx&quot; rel=&quot;nofollow&quot;&gt;MSDN&lt;/a&gt;, &quot;execution engine errors are fatal errors that should never occur&quot; - and for some reason, the actual NHibernate config exception wasn&#039;t showing up in the debugger or error messages anywhere - so it took a while to root out the source of the problem. We ended up compiling the entire project from source, including NHibernate and Castle, and this led us the proxy configuration errors described above; hopefully this comment will help anyone else having the same MvcContrib / ExecutionEngineException problems.</description> <content:encoded><![CDATA[<p>We hit this exact issue last week &#8211; but we&#8217;re using ASP.NET MVC and the MvcContrib library in conjunction with Castle ActiveRecord, and immediately following the upgrade, the only error message we got was:</p><blockquote><p>System.ExecutionEngineException was unhandled<br
/> Message &#8220;Exception of type &#8216;System.ExecutionEngineException&#8217; was thrown.&#8221;</p></blockquote><p>According to <a
href="http://msdn.microsoft.com/en-us/library/system.executionengineexception.aspx" rel="nofollow">MSDN</a>, &#8220;execution engine errors are fatal errors that should never occur&#8221; &#8211; and for some reason, the actual NHibernate config exception wasn&#8217;t showing up in the debugger or error messages anywhere &#8211; so it took a while to root out the source of the problem. We ended up compiling the entire project from source, including NHibernate and Castle, and this led us the proxy configuration errors described above; hopefully this comment will help anyone else having the same MvcContrib / ExecutionEngineException problems.</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-9928</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Sun, 15 Mar 2009 15:24:15 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-9928</guid> <description>ah, i thought it was still left out of the build :)</description> <content:encoded><![CDATA[<p>ah, i thought it was still left out of the build <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Fabio Maulo</title><link>http://davybrion.com/blog/2009/03/upgrading-to-nhibernate-21/comment-page-1/#comment-9927</link> <dc:creator>Fabio Maulo</dc:creator> <pubDate>Sun, 15 Mar 2009 15:19:52 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=1132#comment-9927</guid> <description>You didn&#039;t see the binaries ;)
The Bytecode for Sping is there.</description> <content:encoded><![CDATA[<p>You didn&#8217;t see the binaries <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br
/> The Bytecode for Sping is there.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/25 queries in 0.013 seconds using disk: basic
Object Caching 652/655 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d18sni7re4ly7f.cloudfront.net

Served from: davybrion.com @ 2012-05-22 11:28:42 -->
