search for: perform_etl

Displaying 1 result from an estimated 1 matches for "perform_etl".

2011 May 08
1
Transaction - but no rollback?
Hello, I''m having trouble with transactions with rails 3.0.3 and mysql 5. I''d like to import data etl-batch-style: class Job < ActiveRecord::Base # ... def perform_etl connection.transaction do extract # some connection.execute / job.update_attribute stuff transform # some connection.execute / job.update_attribute stuff end end #... end I''m using InnoDB as storage engine and transaction seem to be working so far: If I start a jo...