Dan said:

"
* Create Record Object
* Loop over X number of records from my XML
  * Init the Record Object
  * Populate the fields with the data for that record
  * Issue a save command
* Go to next iteration in the loop
"

I would solve this using more "traditional" coldfusion techniques, or a
custom object, instead of trying to do this with Reactor.  You might
consider creating a custom XML Reader object of some kind that can read in
an XML file and parse it, and then have it loop over the xml to save the
records to the new database.  Instantiating each row as an object would be
really slow, especially for a large xml file/dataset.  Since this is a
one-off import of data, creating a utility object just for this purpose
would seem the easiest way to go here.

Marc




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

Reply via email to