This may be a seriously newbie question, but I've not been able to find
an answer on my own to this point.  I'm fairly new to Reactor and was
wondering if there's a way to create an object that I can "load up" with
several records and then issue a save or save all command and have all
those records saved to the database at once.  My first guess would be a
Gateway object since it's designed to deal with multiple records, but I
couldn't find any sort of method to create a blank one and populate it
with data nor save it back to the database.

 

I am in the midst of a project to convert one of my clients from a
non-standard database backend over to MySQL server.  The only way I have
to move his data is to have it exported out of the other system into XML
files.  I tried the steps below to use Reactor to do the inserts for me,
but it was incredibly slow.

 

* 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

 

Thanks for any input.

 

Dan

 



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

Reply via email to