I wrote an external object to change the reactor.xml file through regular expressions. I did this so I could test different configurations without having to create a second, third or tertiary reactor.xml file. I would not use this utility for a production environment, but for development it is handy. The only concern for people using this type of testing is that persistent objects could still exist that have the old configurationwhen you make the change. Until every reactor factory has deconstructed, your mappings could have different behaviors.
On 6/3/06, Sean Corfield <[EMAIL PROTECTED]> wrote:
On 6/3/06, Brett Deline (CDI) <[EMAIL PROTECTED]> wrote:
> Does reactor work on CFMX 6.1?
Yes. If it doesn't, it's a bug.
> How would we use reactor with mutliple DSN's? I saw that the DSN for
> reactor is configured in the reactor.xml file. Can we change the DSN
> programmatically?
No, you would have multiple Reactor factories, one for each DSN.
> Can we set up rules for how reactor generates the name of it's classes. Our
> database schema makes a use of underscores in table and column names
You can specify aliases in the XML file for tables and columns. The
generated code uses the aliases, not the original table / column
names.
--
Sean A Corfield -- http://corfield.org/
Got frameworks?
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
<cf_payne />
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
