<?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>BUY Clarina Cream ONLINE WITHOUT PRESCRIPTION</title>
	<atom:link href="http://elegantcode.com/2008/08/12/orm-value-reason-3982/feed/" rel="self" type="application/rss+xml" />
	<link>http://elegantcode.com/2008/08/12/orm-value-reason-3982/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=orm-value-reason-3982</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 09:13:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>BUY Clarina Cream ONLINE WITHOUT PRESCRIPTION</title>
		<link>http://elegantcode.com/2008/08/12/orm-value-reason-3982/comment-page-1/#comment-29634</link>
		<dc:creator>Chris Brandsma</dc:creator>
		<pubDate>Tue, 12 Aug 2008 19:32:51 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/08/12/orm-value-reason-3982/#comment-29634</guid>
		<description>@Tobin: I am 100% with you on the &quot;95% of the time&quot; comment.

To be fair, you almost have to break up ORMs into two categories: those that create the mappings for you (SubSonic, LINQ to SQL, etc), and those that require you to create the mappings (NHibernate, ...).
I was mainly referring to the first type.  Although, because of the syntax with the mapping files, it is still much harder to make that mistake.

If you look at an NHibernate property mapping (using the hbm files), both the column and the property will be mapped together on the same entry.  Plus the order of the properties in the mapping file doesn&#039;t matter.  Nor does the order in which you set the properties on the object you are about to save.

Where as with an INSERT statement, the order of the column and the data being passed in must be exact, plus the two items are not right next to each other (in SQL, I put them on separate lines so I can sort of visually match them up).  

This is just one, of many, ways that I believe that SQL stinks as a language.</description>
		<content:encoded><![CDATA[<p>@Tobin: I am 100% with you on the &#8220;95% of the time&#8221; comment.</p>
<p>To be fair, you almost have to break up ORMs into two categories: those that create the mappings for you (SubSonic, LINQ to SQL, etc), and those that require you to create the mappings (NHibernate, &#8230;).<br />
I was mainly referring to the first type.  Although, because of the syntax with the mapping files, it is still much harder to make that mistake.</p>
<p>If you look at an NHibernate property mapping (using the hbm files), both the column and the property will be mapped together on the same entry.  Plus the order of the properties in the mapping file doesn&#8217;t matter.  Nor does the order in which you set the properties on the object you are about to save.</p>
<p>Where as with an INSERT statement, the order of the column and the data being passed in must be exact, plus the two items are not right next to each other (in SQL, I put them on separate lines so I can sort of visually match them up).  </p>
<p>This is just one, of many, ways that I believe that SQL stinks as a language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>BUY Clarina Cream ONLINE WITHOUT PRESCRIPTION</title>
		<link>http://elegantcode.com/2008/08/12/orm-value-reason-3982/comment-page-1/#comment-29631</link>
		<dc:creator>Tobin Harris</dc:creator>
		<pubDate>Tue, 12 Aug 2008 18:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://elegantcode.com/2008/08/12/orm-value-reason-3982/#comment-29631</guid>
		<description>Actually, you could screw up your mapping file and get the columns the wrong way around :)  The ORM might catch this at &quot;warm up&quot; time as it&#039;s interpreting the mapping file. I might be being dim here (it&#039;s been a long day), but which ORM do you know which captures this at compile time?

I wouldn&#039;t be too hard on yourself for not using an ORM though, I love em only 95% of the time :)</description>
		<content:encoded><![CDATA[<p>Actually, you could screw up your mapping file and get the columns the wrong way around <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   The ORM might catch this at &#8220;warm up&#8221; time as it&#8217;s interpreting the mapping file. I might be being dim here (it&#8217;s been a long day), but which ORM do you know which captures this at compile time?</p>
<p>I wouldn&#8217;t be too hard on yourself for not using an ORM though, I love em only 95% of the time <img src='http://elegantcode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

