Good catch, Chris. I didn't even realize that he was not recreating a new record each time. I have had issues in the past where I accidentally inserted a record with an ID of 0 into my DB and then I was getting that record when I tried to do load(id=0) on brand new record objects. It took me a while to figure out why so was thinking his problem might be that. But yes, if Byron is reusing the same record object over and over that will absolutely cause problems.
On Feb 18, 2008 4:17 AM, Chris Blackwell <[EMAIL PROTECTED]> wrote: > > > Its not safe to reuse a single instance of a Record in your > application. You should create a new Record object and then call load > on it each time. DAO, Gateways and Validators are safe to be cached > for reuse. > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [EMAIL PROTECTED] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
