Rhino ETLTransactions

time to read 1 min | 120 words

Well, that turned out to be really easy, thanks to Tomas Restrepo, who pointed me directly to the right place.

You can now write:

target withTransaction:
	transaction:
		cookie = Execute("CopyUsers")
		Execute("WillThrow").After(cookie)
		
target transactionWithIsolationLevel:
	transaction(IsolationLevel.Serializable):
		cookie = Execute("CopyUsers")
		Execute("WillThrow").After(cookie)

As far as I am concerned, the way it works is magic, because the whole thing is still heavily multi threaded and I didn't even thought about checking whatever I have MSDTC installed ( I am on Windows 2003, so apparently yes, because it works ).

This mostly complete the baseline features that I consider mandatory, which means that I now can focus on the other ends, meaning focusing on adding more sources and destinations.

More posts in "Rhino ETL" series:

  1. (16 Oct 2007) Importing Data into MS CRM
  2. (13 Aug 2007) Writing to files
  3. (05 Aug 2007) Web Services Source
  4. (05 Aug 2007) Transactions
  5. (04 Aug 2007) Targets
  6. (04 Aug 2007) Aggregates
  7. (26 Jul 2007) Thinking about Joins & Merges
  8. (24 Jul 2007) First Code Drop