|
Hi,
I was wondering if anyone could help me with this? When I try to save a record where the table has a computed column, I get the error: “Column 'xxxxxxxx' cannot be modified because it is a computed column.”
I’m a bit stuck with this one, as I can’t re-write the table this time. Would it be possible to over-write the save() method in some way? Ideally, reactor should just ignore a computed column when it generates it’s insert and update statements. I’m not sure if it can get this info from the sql server.
Any help is appreciated
Thanks
-----Original Message-----
Hi Folks,
Apologies if this has been asked before, but does reactor work with computed columns?
An example column would be: CREATE TABLE prices( retail money, sale money, cost_diff AS (retail – sale) )
In the case of cost_diff column, you would want reactor to create a getter method, but not a setter.
Thanks,
Gareth -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor For CF] computed columns Gareth Cole
- [Reactor for CF] RE: [Reactor For CF] computed columns Gareth Cole
- Re: [Reactor for CF] RE: [Reactor For CF] computed col... Teddy Payne
- Re: [Reactor for CF] RE: [Reactor For CF] computed col... Sean Corfield
- Re: [Reactor for CF] RE: [Reactor For CF] computed col... Chris Phillips

