<?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: When to use NHibernate</title>
	<atom:link href="http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/</link>
	<description>Strong opinions, weakly held</description>
	<lastBuildDate>Fri, 17 May 2013 09:02:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Taz</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5423</link>
		<dc:creator>Taz</dc:creator>
		<pubDate>Wed, 09 Jan 2013 10:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5423</guid>
		<description>Interesting discussion.

I had to evaluate ORM&#039;s for my company over a year back and in the end we ended up using LLBLGen Pro. We have one nHibernate guy who seems to hate it but everyone else likes it :)</description>
		<content:encoded><![CDATA[<p>Interesting discussion.</p>
<p>I had to evaluate ORM&#8217;s for my company over a year back and in the end we ended up using LLBLGen Pro. We have one nHibernate guy who seems to hate it but everyone else likes it <img src='http://lostechies.com/jimmybogard/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jbogard</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5266</link>
		<dc:creator>jbogard</dc:creator>
		<pubDate>Wed, 07 Nov 2012 13:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5266</guid>
		<description>Nope, you&#039;re pretty much stuck with an actual ORM or a doc DB. But I don&#039;t think that&#039;s too horrible, if you need advanced features, you&#039;ll need a full-featured tool.</description>
		<content:encoded><![CDATA[<p>Nope, you&#8217;re pretty much stuck with an actual ORM or a doc DB. But I don&#8217;t think that&#8217;s too horrible, if you need advanced features, you&#8217;ll need a full-featured tool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5262</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 06 Nov 2012 22:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5262</guid>
		<description>It seems to come from the lack of cascading saves and lazy loading.

For example, take an Order that has multiple OrderItems. We define an aggregate that just contains these to objects. The aggregate root, Order that has a collection of OrderItems, through the root we can add and remove items as needed, then we can save that root and have both the Order and its OrderItems persisted. So we have nice neat POCO objects. Using a micro-orm we fall back to a repository pattern or we put persistence in the Order via a &quot;Save&quot; method that would coordinate the persistence, but this gets away from the POCO style objects.

The only time I have seen aggregates modeled with persistence used the &quot;big database frameworks&quot; such as NH or EF or document databases like RavenDB. 
So if you had some secrets on doing the same with a micro-orm  I was hoping you may share them. :D</description>
		<content:encoded><![CDATA[<p>It seems to come from the lack of cascading saves and lazy loading.</p>
<p>For example, take an Order that has multiple OrderItems. We define an aggregate that just contains these to objects. The aggregate root, Order that has a collection of OrderItems, through the root we can add and remove items as needed, then we can save that root and have both the Order and its OrderItems persisted. So we have nice neat POCO objects. Using a micro-orm we fall back to a repository pattern or we put persistence in the Order via a &#8220;Save&#8221; method that would coordinate the persistence, but this gets away from the POCO style objects.</p>
<p>The only time I have seen aggregates modeled with persistence used the &#8220;big database frameworks&#8221; such as NH or EF or document databases like RavenDB.<br />
So if you had some secrets on doing the same with a micro-orm  I was hoping you may share them. <img src='http://lostechies.com/jimmybogard/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jbogard</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5253</link>
		<dc:creator>jbogard</dc:creator>
		<pubDate>Tue, 06 Nov 2012 03:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5253</guid>
		<description>What sorts of walls?</description>
		<content:encoded><![CDATA[<p>What sorts of walls?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5250</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 05 Nov 2012 16:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-5250</guid>
		<description>Any advice on using some of these micro-orms in the DDD, Bounded Context arena? We us NH, quite a bit, but we have started looking for &quot;simpler&quot; options in the micro-orm space, but are hitting some walls when looking at Bounded Contexts and Aggregate Roots.</description>
		<content:encoded><![CDATA[<p>Any advice on using some of these micro-orms in the DDD, Bounded Context arena? We us NH, quite a bit, but we have started looking for &#8220;simpler&#8221; options in the micro-orm space, but are hitting some walls when looking at Bounded Contexts and Aggregate Roots.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Barton</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4116</link>
		<dc:creator>Paul Barton</dc:creator>
		<pubDate>Mon, 21 Nov 2011 23:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4116</guid>
		<description>The thing I dislike about Massive is that there are NO tests in the project! https://github.com/robconery/massive</description>
		<content:encoded><![CDATA[<p>The thing I dislike about Massive is that there are NO tests in the project! https://github.com/robconery/massive</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Morning Brew - Chris Alcock &#187; The Morning Brew #985</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4114</link>
		<dc:creator>The Morning Brew - Chris Alcock &#187; The Morning Brew #985</dc:creator>
		<pubDate>Mon, 21 Nov 2011 09:36:24 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4114</guid>
		<description>[...] When to use NHibernate - Jimmy Bogard follows up the discussion sharing his view point and the persistence technology he is looking to use in difference scenarios. [...]</description>
		<content:encoded><![CDATA[<p>[...] When to use NHibernate &#8211; Jimmy Bogard follows up the discussion sharing his view point and the persistence technology he is looking to use in difference scenarios. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4111</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 18 Nov 2011 15:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4111</guid>
		<description>A lot of times we&#039;re constrained on what our hosting provider allows. But, a lot of the times we don&#039;t even consider options (when we probably should)</description>
		<content:encoded><![CDATA[<p>A lot of times we&#8217;re constrained on what our hosting provider allows. But, a lot of the times we don&#8217;t even consider options (when we probably should)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Sheldon</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4110</link>
		<dc:creator>Steve Sheldon</dc:creator>
		<pubDate>Fri, 18 Nov 2011 15:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4110</guid>
		<description>A few of my fellow developers were talking about this a few months back, mainly in relation to EF, but NHibernate offers the same puzzle.  We like the ORM for mapping out an aggregate root and it&#039;s various entities, values, etc. for retrieval and then the change tracking for updates.

What we don&#039;t like is the query language.   LINQ or other, the reality is that there is a great DSL out there that is very expressive, well known, and readable and it&#039;s called SQL.  So just using a micro-ORM seems really appealing in this scenario.

The biggest problem with that division of responsibility is the data schema, and that&#039;s when the CQRS pattern starts to come into play because it segregates that between reads and writes.  But then you start questioning why you have a write schema that is relational...   Or even a read schema that is relational.

So I&#039;m looking forward to Ayende&#039;s next post. :-)

</description>
		<content:encoded><![CDATA[<p>A few of my fellow developers were talking about this a few months back, mainly in relation to EF, but NHibernate offers the same puzzle.  We like the ORM for mapping out an aggregate root and it&#8217;s various entities, values, etc. for retrieval and then the change tracking for updates.</p>
<p>What we don&#8217;t like is the query language.   LINQ or other, the reality is that there is a great DSL out there that is very expressive, well known, and readable and it&#8217;s called SQL.  So just using a micro-ORM seems really appealing in this scenario.</p>
<p>The biggest problem with that division of responsibility is the data schema, and that&#8217;s when the CQRS pattern starts to come into play because it segregates that between reads and writes.  But then you start questioning why you have a write schema that is relational&#8230;   Or even a read schema that is relational.</p>
<p>So I&#8217;m looking forward to Ayende&#8217;s next post. <img src='http://lostechies.com/jimmybogard/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bogdan Marian</title>
		<link>http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4109</link>
		<dc:creator>Bogdan Marian</dc:creator>
		<pubDate>Fri, 18 Nov 2011 15:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/jimmybogard/2011/11/18/when-to-use-nhibernate/#comment-4109</guid>
		<description>Ok, but why use then a &quot;relational&quot; DBMS? Why not using a key-value store or big table?  </description>
		<content:encoded><![CDATA[<p>Ok, but why use then a &#8220;relational&#8221; DBMS? Why not using a key-value store or big table?  </p>
]]></content:encoded>
	</item>
</channel>
</rss>
