# ChainedTransactionManager over the customers and orders managers


--- 1. business exception after both writes: both roll back ---
rows: customers.customer=0  orders.purchase_order=0

--- 2. the orders database refuses to commit; orders is LAST in the list ---
thrown: org.springframework.transaction.HeuristicCompletionException (outcome: rolled back)
rows: customers.customer=0  orders.purchase_order=0

--- 3. the orders database refuses to commit; orders is FIRST in the list ---
thrown: org.springframework.transaction.HeuristicCompletionException (outcome: mixed)
rows: customers.customer=1  orders.purchase_order=0
