My apologies if this is a little belated, but here is an update to the sample code that was posted with my DevNet article Introducing ORM in Adobe ColdFusion 9 beta.
Unfortunately several things changed in CF9 between the time that I wrote the article and when the public beta came out.
The major differences between the sample on Adobe.com and this one are:
- The datatype attribute on cfproperty was changed to ormtype.
- Disable Implicit UDF Registration is now turned on by default, so any implicit setter/getter inside a CFC has to be prefixed by 'this.' for them to function.
I will endeavour to keep this download up to date as new versions of ColdFusion 9 are release.