What problems are you having with custom methods in reactor code in SVN?
You can solve most problems by checking all of the reactor objects into
SVN not letting each machine generate them on the fly. If you do not
check your reactor generated components into version control you create
a fragile deployment to production, not to mention all the overhead for
the production machine to create those objects.

 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Roy Martin
Sent: Tuesday, February 26, 2008 1:04 PM
To: [email protected]
Subject: [Reactor for CF] Saving records with computed columns

 

On our MSSQL 2000 database we have many computed columns that are then
indexed in our schema. A classic example is 
alter table tableprefix_user add full_name AS (COALESCE(first_name, '')
+ ' ' + COALESCE(last_name,''))

Since a computed column cannot explicitly allow null reactor records it
determines that there is a validation error. The only work-around for
this seems to be to override the method for that column and simply
return the validationRecord without triggering any method calls to check
for errors. This is fine but we specifically try not to include any
custom methods in reactor generated code due to the problems it poses in
an SVN development environment. 

Is there another work-around or could this be considered a bug?

Thanks,
Roy

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- --


**************************************************************************** 
This email may contain material confidential to
Pearson.  If you were not an intended recipient, 
please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to