<?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: Choose your ORM: Runtime, code generation or build provider?</title>
	<atom:link href="http://damieng.com/blog/2006/08/29/choosing_your_orm_runtime_vs_code_generation/feed" rel="self" type="application/rss+xml" />
	<link>http://damieng.com/blog/2006/08/29/choosing_your_orm_runtime_vs_code_generation</link>
	<description>A .NET developer in Redmond</description>
	<pubDate>Tue, 06 Jan 2009 04:04:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: steve</title>
		<link>http://damieng.com/blog/2006/08/29/choosing_your_orm_runtime_vs_code_generation/comment-page-1#comment-1608</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Thu, 31 Aug 2006 11:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://damieng.com/blog/archive/2006/08/29/choosing_your_orm_runtime_vs_code_generation.aspx#comment-1608</guid>
		<description>We use code generation (and our project is several years old tech now), but lately projects like Hibernate have made a strong case that you don't really need it. Yes, they need reflection, but since you pre-declare your mappings it is an initialisation-time task to build a serialisation plan, so at runtime it can be very efficient if the code &#38; data metadata structures are well thought out. It also saves memory when you have very large entity sets, and there are arguments that a smaller core set of serialisation routines with well-organised mapping data can actually be beneficial, in that they're cache-friendly and it's easier to add features like cluster awareness.&lt;br /&gt;&lt;br /&gt;I've never played with Hibernate myself since we have our own code generation option, but I know people who have used it and swear by it (not about it, luckily). Not sure how good the NHibernate version is, I don't know anyone who uses that at the moment, but perhaps worth a look.&lt;br /&gt;</description>
		<content:encoded><![CDATA[<p>We use code generation (and our project is several years old tech now), but lately projects like Hibernate have made a strong case that you don't really need it. Yes, they need reflection, but since you pre-declare your mappings it is an initialisation-time task to build a serialisation plan, so at runtime it can be very efficient if the code &amp; data metadata structures are well thought out. It also saves memory when you have very large entity sets, and there are arguments that a smaller core set of serialisation routines with well-organised mapping data can actually be beneficial, in that they're cache-friendly and it's easier to add features like cluster awareness.</p>
<p>I've never played with Hibernate myself since we have our own code generation option, but I know people who have used it and swear by it (not about it, luckily). Not sure how good the NHibernate version is, I don't know anyone who uses that at the moment, but perhaps worth a look.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
