Opps, I responded to the wrong email last time.  I got the right one this
time :)

************************

Forgive my ignorance, please.  What should be different in my
application.cfc?

<cfcomponent>            

<cfset this.name = "myORMApplication">

<cfset this.ormenabled = "true">
  
<cfset this.datasource = "OrmTesting">

<!---- ORM Setting this tells ORM to drop and create database---->

<cfset this.ormsettings = "dropcreate">

</cfcomponent>



-----Original Message-----
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, January 14, 2010 11:38 AM
To: cf-talk
Subject: Re: orm beginner


> I'm guessing that would mean the error must be in application.cfc, but
it's
> pretty simple and I don't see what might be wrong.  Could the error be
> coming from one of the other cfc's even though index is commented out?
 Does
> Coldfusion attempt to build the map as soon as it see ormenabled = "true"?

The ormSettings variable is a structure, not a string.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329677
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to