CF 9 ORM -- CFCLocation not working
Hi There,
I have just started looking at ORM in CF9 and am having a problem with the CFC location. I have tried moving the CFC I'm testing with to another directory, changed the ormsettings.cfclocation to a bunch of different things, added in a mapping in the administrator and still come up short with the CF9 error: "Mapping for component .... ".
Adobe certainly doesn't give you much information about what the format is support to be, and how it is to work.
Here is what I have:
Windows version with Apache 2.0.59
Application.cfc:
this.ormenabled = true;
this.datasource = "testit";
this.ormsettings = { };
this.ormsettings.cfclocation = "/App/CFC";
this.ormsettings.dbdialect = "MicrosoftSQLServer";
Directory structure:
/test/app <-- Source .CFM module
/test/app/cfc <-- Home of all my CFC's
Test.cfm
<cfset dbData = EntityLoad("tableA1", {id=3})>
Results:
Error: Mapping for Component tableA1 not found.
Okay, I have spent hours trying and searching the next for answers as to how to make this work.
Any help would be greatly appeaciated.
Drew Nathanson
Technical Synergy, Inc.
drew@technicalsynergy.com
