<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Application Generation - ORM</title>
			<link>http://www.pbell.com/index.cfm</link>
			<description>A series of occasional musings on architecting, securing, optimizing and generating web based applications. By Peter Bell.</description>
			<language>en-us</language>
			<pubDate>Sun, 26 May 2013 00:50:52 -0400</pubDate>
			<lastBuildDate>Mon, 14 Jul 2008 17:14:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>test@test.com</managingEditor>
			<webMaster>test@test.com</webMaster>
			
			
			
			
			
			<item>
				<title>Polymorphic Queries</title>
				<link>http://www.pbell.com/index.cfm/2008/7/14/Polymorphic-Queries</link>
				<description>
				
				One thing that is quite nice in Hibernate is the support for polymorphic queries. Let&apos;s say that I have a number of companies that I do business with - vendors and customers. They may be in different tables (lets say tbl_Vendor and tbl_Customer) if I implement a &quot;one table per concrete class&quot; inheritance strategy, but I can still query for all of the Companies that I do business with. If I&apos;m using one table per concrete class, Hibernate uses a union of two queries plus the setting of null columns (to give vendors the customer columns and vice versa) to return the results of the query. Obviously if I&apos;m using one table per class hierarchy, Hibernate can just run a simple query against the tbl_Company table to get the results.
				
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 14 Jul 2008 17:14:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/7/14/Polymorphic-Queries</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Default Values</title>
				<link>http://www.pbell.com/index.cfm/2008/7/14/Default-Values</link>
				<description>
				
				Continuing on from an &lt;a href=&quot;http://www.pbell.com/index.cfm/2008/7/14/Some-More-Persistence-Patterns&quot;&gt;earlier posting&lt;/a&gt;, I&apos;m looking at the different meaning of &quot;default values&quot; within an application and some ways of distinguishing them . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 14 Jul 2008 16:36:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/7/14/Default-Values</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Some More Persistence Patterns</title>
				<link>http://www.pbell.com/index.cfm/2008/7/14/Some-More-Persistence-Patterns</link>
				<description>
				
				Some other interesting ideas from Hibernate: serializable Value object classes, properties utilizing a SQL formula, generated property types, and default values . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 14 Jul 2008 14:53:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/7/14/Some-More-Persistence-Patterns</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Inheritance in Hibernate: Should an Object Ever Have More than one Type?</title>
				<link>http://www.pbell.com/index.cfm/2008/7/14/Inheritance-in-Hibernate-Should-an-Object-Ever-Have-More-than-one-Type</link>
				<description>
				
				Let&apos;s say you have an inheritance hierarchy where Vendor and Customer are both subclasses of Company. So, you deal with companies that could be Vendors or Customers. The question is, what happens if a given Company is both a Vendor and a Customer? . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 14 Jul 2008 14:36:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/7/14/Inheritance-in-Hibernate-Should-an-Object-Ever-Have-More-than-one-Type</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Object LifeCycles: Value Objects, Composed Objects and Associated Objects</title>
				<link>http://www.pbell.com/index.cfm/2008/7/14/Object-LifeCycles-Value-Objects-Composed-Objects-and-Associated-Objects</link>
				<description>
				
				When thinking about persistence, one of the concerns is the lifecycles of the objects you are persisting (necessary to understand how/when to implement cascading deletes) . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 14 Jul 2008 12:55:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/7/14/Object-LifeCycles-Value-Objects-Composed-Objects-and-Associated-Objects</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Entity vs Value Types in Hibernate</title>
				<link>http://www.pbell.com/index.cfm/2008/7/14/Entity-vs-Value-Types-in-Hibernate</link>
				<description>
				
				Hibernate is really the gold standard for ORM&apos;s, and if you have any interest in persisting object models it makes sense to study Hibernate - whether to use it or to learn from the patterns that they use. 

One interesting pattern in Hibernate is the distinction between Entity and Value object types . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 14 Jul 2008 12:31:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/7/14/Entity-vs-Value-Types-in-Hibernate</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>How Would You Solve the Order:Address Problem?</title>
				<link>http://www.pbell.com/index.cfm/2008/7/14/How-Would-You-Solve-the-OrderAddress-Problem</link>
				<description>
				
				Let&apos;s say you&apos;re building a commerce system. An Order has a BillingAddress. You want to support address book functionality where users can re-use, edit and delete addresses, but once an order has been placed, you want to fix the BillingAddress for that order while still allowing it to be editable within the address book. What&apos;s the best way to solve the problem? . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 14 Jul 2008 11:18:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/7/14/How-Would-You-Solve-the-OrderAddress-Problem</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>What Should a Persistence Framework Do?</title>
				<link>http://www.pbell.com/index.cfm/2008/7/14/What-Should-a-Persistence-Framework-Do</link>
				<description>
				
				At its simplest, the goal of a persistence framework is to simplify and speed up the process of handling persistence of your applications. What a persistence framework needs to do depends heavily on your use cases. Here are the core problems I would personally like a persistence framework to solve . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 14 Jul 2008 10:52:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/7/14/What-Should-a-Persistence-Framework-Do</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Objects, Tables and ORMs – part deux</title>
				<link>http://www.pbell.com/index.cfm/2008/4/3/Objects-Tables-and-ORMs--part-deux</link>
				<description>
				
				The other day I looked at &lt;a href=&quot;http://www.pbell.com/index.cfm/2008/4/2/Objects-Tables-and-ORMs&quot;&gt;inheritance strategies for ORMs&lt;/a&gt;. Today I want to look at some of the other times where there isn&apos;t necessarily a 1:1 relationship between objects and database tables . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Thu, 03 Apr 2008 10:30:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/4/3/Objects-Tables-and-ORMs--part-deux</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Objects, Tables and ORMs</title>
				<link>http://www.pbell.com/index.cfm/2008/4/2/Objects-Tables-and-ORMs</link>
				<description>
				
				One of the quickest tests of an ORM is to look at how flexible it is when mapping objects to tables. Here are some of the possible requirements to consider . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Wed, 02 Apr 2008 16:01:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/4/2/Objects-Tables-and-ORMs</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>What I Need From My ORM/Data Access Layer</title>
				<link>http://www.pbell.com/index.cfm/2007/8/24/What-I-Need-From-My-ORMData-Access-Layer</link>
				<description>
				
				The ideal ORM is dependent on your exact use case. From Transfer and Reactor to SQL Alchemy and Hibernate, there are many ORM systems available of varying complexity. Here&apos;s what I need from my ORM system. I&apos;d appreciate any input on features I haven&apos;t mentioned along with a sense of the problem they solve. This spec works for me today, but I&apos;m sure there are plenty of new use cases just lurking out of site that I haven&apos;t thought through yet :-&gt; . . .
				 [More]
				</description>
				
				<category>DAO</category>
				
				<category>ORM</category>
				
				<category>Design Patterns</category>
				
				<pubDate>Fri, 24 Aug 2007 22:55:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/8/24/What-I-Need-From-My-ORMData-Access-Layer</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Approaches to ORM . . .</title>
				<link>http://www.pbell.com/index.cfm/2007/5/28/Approaches-to-ORM---</link>
				<description>
				
				&lt;a href=&quot;http://www.aacr9.com/&quot;&gt;Phillip Senn&lt;/a&gt; posted a link to Paul Nielsons &lt;a href=&quot;http://www.isnotnull.com&quot;&gt;Nordic&lt;/a&gt; ORM for .NET, and I just came across a nice overview of &lt;a href=&quot;http://www.sqlalchemy.org/&quot;&gt;SQL Alchemy&lt;/a&gt; - a Python ORM. Always interesting to see different approaches to these common problems . . .
				
				</description>
				
				<category>ORM</category>
				
				<pubDate>Mon, 28 May 2007 13:18:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/28/Approaches-to-ORM---</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Microsoft Gets Into ORM</title>
				<link>http://www.pbell.com/index.cfm/2007/5/4/Microsoft-Gets-Into-ORM</link>
				<description>
				
				It appears that with Project Jasper, Microsoft is &lt;a href=&quot;http://blogs.msdn.com/aconrad/archive/2007/04/30/project-jasper.aspx&quot;&gt;getting into ORM&lt;/a&gt;. Right now this will only work with VB9 and IronPython (and possibly Managed Javascript and Iron Ruby) due to the dependence on late binding so it isn&apos;t exactly going to take the commercial world by storm just yet, but it&apos;ll be interesting to check out their API and to see how this ends up working down the line with the Dynamic Language Runtime.

Interesting times!
				
				</description>
				
				<category>ORM</category>
				
				<pubDate>Fri, 04 May 2007 12:28:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/4/Microsoft-Gets-Into-ORM</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Rethinking the Data Access Layer</title>
				<link>http://www.pbell.com/index.cfm/2007/3/22/Rethinking-the-Data-Access-Layer</link>
				<description>
				
				There are a number of approaches to implementing a data access layer. You&apos;re got procedural tools like Steve Bryants excellent &lt;a href=&quot;http://bryantwebconsulting.com/cfcs/DataMgr.htm&quot;&gt;DataMgr&lt;/a&gt; and ORM systems like the extremely popular &lt;a href=&quot;http://www.compoundtheory.com/?action=transfer.index&quot;&gt;Transfer&lt;/a&gt; from Mark Mandell and &lt;a href=&quot;http://svn.reactorframework.com/&quot;&gt;Reactor&lt;/a&gt; from Doug Hughes.

In this short series I want to examine exactly what I need out of a DAL and how I plan to approach solving this problem in a somewhat different way that Steve, Mark or Doug have taken . . .
				 [More]
				</description>
				
				<category>ORM</category>
				
				<pubDate>Thu, 22 Mar 2007 11:40:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/3/22/Rethinking-the-Data-Access-Layer</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>A DSL for SQL</title>
				<link>http://www.pbell.com/index.cfm/2007/3/13/A-DSL-for-SQL</link>
				<description>
				
				Written in Ruby, but looks &lt;a href=&quot;http://sqldsl.rubyforge.org/&quot;&gt;interesting&lt;/a&gt;. Will have to compare to Mark Mandells TQL (part of Transfer) and Doug Hughes&apos; query object API and see what I can learn . . .
				
				</description>
				
				<category>ORM</category>
				
				<pubDate>Tue, 13 Mar 2007 14:56:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/3/13/A-DSL-for-SQL</guid>
				
			</item>
			
		 	
			</channel></rss>
	

