Tagged: Transaction

Nested Transaction Implementation 0

Nested Transaction Implementation

There are two classes OrderService and OrderRepository,  OrderRepository will be called inside of OrderService. OrderRepository inserts one record of order into the database. My Purpose: When an exception happens in OrderRepository or OrderService, the transaction will rollback and...