I have, but I have made several changes to the cfc's, which have not been reflected in the database. I put ormFlush() at the top of application.cfc, is there some other way to make sure a new mapping/new database is created? I have <cfset this.ormsettings.dbcreate="dropcreate"> in application.cfc as well. But I look at the database and the changes are not reflected.
I want to use the ORM to create the database so I am forced to start thinking about objects all the time. I want to create Flex front ends for my web apps and that is all OOP. It is a very hard leap for a small and smooth, well aged brain. Mark -----Original Message----- From: b...@bradwood.com [mailto:b...@bradwood.com] Sent: Thursday, January 14, 2010 1:43 PM To: cf-talk Subject: RE: another beginner orm question > ids for this class must be manually assigned before calling save(): Emails Have you defined which property in your components are the primary key? ~Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:329689 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4