CF (or some sort of execution plan CF creates) caches the database's
structure. You'll have to restart CF for the changes to be picked up as
far as I know.

/k 

-----Original Message-----
From: Phillip Duba [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 12:50 PM
To: CF-Talk
Subject: Database changes causes Component Errors

Hello All,

This is the second time in the past month we have come across this
issue. The scenario is I have a component which contains a number of
queries against our database. Some of these queries have a table.* in
them. It appears if we alter the tables with the .*s, ColdFusion throws
an error stating invalid type or cast (basically, it expects a number
but gets a string) in these queries.

This only happens when a new column has been added to the tables in
question. Any ideas on why this is occuring or how to prevent this
(other try and eliminate the *s)? We are running in a clustered
environment but nothing within the component is persisted. Thanks,

Phil



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224699
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to