<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Datablend &#187; orm</title>
	<atom:link href="http://datablend.be/?cat=29&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://datablend.be</link>
	<description>Big Data Simplified</description>
	<lastBuildDate>Mon, 07 Sep 2015 09:04:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6.1</generator>
		<item>
		<title>The (non-)sense of NoSQL O(R)M frameworks</title>
		<link>http://datablend.be/?p=258</link>
		<comments>http://datablend.be/?p=258#comments</comments>
		<pubDate>Tue, 11 Oct 2011 09:45:53 +0000</pubDate>
		<dc:creator>Davy Suvee</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[orm]]></category>

		<guid isPermaLink="false">http://datablend22.lin3.nucleus.be/?p=258</guid>
		<description><![CDATA[NoSQL seems to be ready for prime time. Several NoSQL companies, including 10gen (MongoDB), DataStax (Cassandra) and Neo Technology (Neo4J), recently received millions in funding to expand their (commercial) NoSQL offerings. Even Oracle is now entering the already crowded NoSQL-space with its very own key-value NoSQL Database 11g. No doubt that this type of publicity<p><a href="http://datablend.be/?p=258">Continue Reading →</a></p>]]></description>
				<content:encoded><![CDATA[<p style="text-align: justify;"><span class="highlight">NoSQL</span> seems to be ready for <span class="highlight">prime time</span>. Several NoSQL companies, including <a target ="_blank" href="http://www.10gen.com">10gen</a> (MongoDB), <a target ="_blank" href="http://www.datastax.com">DataStax</a> (Cassandra) and <a target ="_blank" href="http://neotechnology.com">Neo Technology</a> (Neo4J), recently received millions in funding to expand their (commercial) NoSQL offerings. Even <span class="highlight">Oracle</span> is now entering the already crowded NoSQL-space with its very own key-value <a target ="_blank" href="http://www.oracle.com/technetwork/database/nosqldb">NoSQL Database 11g</a>. No doubt that this type of publicity will boost the <span class="highlight">enterprise adoption</span> of NoSQL technologies.</p>
<p style="text-align: justify;">At the same time, the rise of <span class="highlight">Object Relational Mapping</span> (ORM) within the NoSQL space is impressive. Multiple approaches and frameworks are competing within the same solution space and I can&#8217;t stop wondering whether they do not enter the market <span class="highlight">too soon</span> &#8230; Don&#8217;t get me wrong. I strongly believe in the advantages of using an ORM. In fact, I can not even remember my last enterprise-type application that is not powered by an ORM. So why am I expressing <span class="highlight">my concerns</span> in case of NoSQL?</p>
<p style="text-align: justify;">Relational databases have been around for the past thirty or more years. We have all done our own share of <span class="highlight">low-level database work</span> and have been exposed to the overal technicalities of a RDBMS. As a result, when advancing to the use of an ORM, people can count on this <span class="highlight">basic knowledge set</span> when problems are encountered. Most of us however, lack this type of in-depth NoSQL expertise. Nevertheless, as the NoSQL hype is growing, people will fall back on their ORM expertise in order to quickly adopt this new technology. This is enforced by the motivation of several NoSQL ORM frameworks: <em>&#8220;Don&#8217;t mind the NoSQL complexities. Just employ an approach you already know!&#8221;</em>. Unfortunately, all abstractions will <span class="highlight">fail</span> you at some point in time &#8230; </p>
<p style="text-align: justify;">But what about the <span class="highlight">mapping-side of things</span>? First of all, various NoSQL approaches, including document-based databases, don&#8217;t exhibit the <span class="highlight">object-oriented impedance mismatch</span>. In approaches that do, an ORM will not always make sense. Several ORMs target a variety of NoSQL technologies by providing a generic mapping framework: <em>&#8220;Map your objects. Don&#8217;t care about the target NoSQL technology. We&#8217;ll do that.&#8221;</em>. Unfortunately, this approach will fail you at achieving the true (performance) promise of NoSQL. An ORM framework would not have been able to help me at attaining the performance gains as described in one of <a target ="_blank" href="http://datablend.be/?p=202">my previous articles</a>. In fact, it would not even make sense to implement the problem domain as such. Hence, I&#8217;m afraid that the use of an ORM framework will disappoint a lot of NoSQL newcomers &#8230;</p>
<p style="text-align: justify;">ORM frameworks in the NoSQL space will however get us closer to the idea of <span class="highlight">Polyglot Persistence</span>. <a target ="_blank" href="http://www.springsource.org/spring-data/neo4j">Spring Data Graph</a> for instance, allows you to map <span class="highlight">Pojos</span> in such a way that parts of it are persisted to a traditional database and parts of it to the Neo4J graph database. This is achieved in a technical transparant way, making it an easy-to-use solution. Nevertheless, I still feel it&#8217;s way too soon for ORMs as the knowledge and best practices on NoSQL are just being developed.</p>
<p></p>]]></content:encoded>
			<wfw:commentRss>http://datablend.be/?feed=rss2&#038;p=258</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
