
Note: This article was created based on the ColdFusion 9 beta release. Minor changes in the description and code may be necessary before it can be applied to ColdFusion 9.
As the author of the Transfer framework, I have had a strong interest in ColdFusion Object Relational Mapping (ORM), and persistence frameworks in general for a fairly long time. When I heard that the ColdFusion 9 was going to include integration with Hibernate, one of Java's premier ORM frameworks, I was very interested in exploring the new capabilities that this was going to offer to a wide variety of ColdFusion developers.
I quickly found that the integration with Hibernate and ColdFusion has been delivered exceedingly well, hiding away many of the complexities of implementing Hibernate (and ORM in general), while still giving the developer remarkable flexibility in development strategies, and also exposing many of the layers of Hibernate to those who want to take direct advantage of some of its more complex and configurable features.
In this article, I'll provide a review of ORM in general as well as ColdFusion and Hibernate integration before covering how to perform database operations and manage relationships with ORM.
In order to make the most of this article, you need the following software and files:
Familiarity with ColdFusion and database concepts will be helpful.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License
Mark Mandel is a full time consultant and lead developer on several open source projects, most notably Transfer ORM, ColdSpring, JavaLoader, ColdDoc, and Conduit. He has been has been working with ColdFusion for a number of years, including at his very own dot com back in the late '90s.
Mark can often be found blogging at www.compoundtheory.com, which has housed his thoughts on ColdFusion, Java, and various other aspects of software development for several years. He can also be found as a regular poster on ColdFusion mailing lists as well as generally causing havoc in the #coldfusion channel on Dalnet IRC network.