ORM and the Nested Set Model

November 12, 2009

Using hibernate ORM's HQL with the Nested Set Model for storing hierarchical data. Read more »

A bit more HQL

November 06, 2009

Yesterday I blogged the basics of HQL, by replicating the functionality of EntityLoad(), so you're probably wondering why you'd bother. Using the same set up as I had in my previous post let's look at some things you can't do with EntityLoad. Read more »

Getting started with HQL

November 05, 2009

Hibernate has it's only query language called HQL. I thought I'd put together some simple examples of how you can use it in your ColdFusion 9 applications. Read more »

Creating Gateways using a GatewayFactory for ORM

October 08, 2009

Joe Reinhart blogged earlier this week about his ColdFusion 9 ORM: Generic DAO wrapper. I've been playing around with something similar (although I don't have a dynamic finder method like Joe has) which uses a Gateway Factory and an Abstract Gateway and thought I'd post my code here in case anyone was interested. Read more »

Self Validating Entities with CF9

August 23, 2009

The default settings for ColdFusion 9's ORM capabilities mean that you don't want to populate your entities with invalid data as it will be automatically saved. Read more »

CF9 ORM - Clearing the session cache II

August 04, 2009

A more refined version of my post on CF9 ORM - Clearing the session cache. Read more »

CF9 ORM - Clearing the session cache

August 03, 2009

Clearing the session cache to stop ColdFusion saving changes to an ORM entity. Read more »

CF9 ORM blog sample application

July 31, 2009

Mark Mandel wrote an simple blog application to demonstrate how to use Transfer ORM. I thought it would be an interesting exercise to update it to run using the in-built ORM capabilities on ColdFusion 9. Read more »

Select Top n with CF9 ORM

July 28, 2009

A couple of quick examples of loading the first 5 records using EntityLoad and ORMExecuteQuery Read more »