Yep, recreate the object with the same call.
<cfset test = Createobject('component','com.something.thisone').init() />
Will reinstantiate the object.
Is this your own DAO or are you using an ORM?
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
<http://www.aegeon.com.au> www.aegeon.com.au
Phone: +613 8676 4223
Mobile: 0404 998 273
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of George Lu
Sent: Friday, 25 May 2007 4:06 PM
To: CFAussie Mailing List
Subject: [cfaussie] Reset Object
Hi,
Is there any way to reset the object without restarting the cf admin? I'm
using CreateObject("component","CFC.DataMgr") and I've made some changes in
the database (e.g. size of a field).
Thanks,
George
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---