MS Lesson15: Transaction propogation
1. A servisi transactional metodu var ve B servisindeki non transactional metodu cagiri: package guru.springframework.cruddemo.controller; import guru.springframework.cruddemo.service.impl.AccountServiceImpl; import lombok. RequiredArgsConstructor ; import lombok.extern.slf4j. Slf4j ; import org.springframework.web.bind.annotation. PostMapping ; import org.springframework.web.bind.annotation. RestController ; @RestController @Slf4j @RequiredArgsConstructor public class AccountController { private final AccountServiceImpl accountServiceImpl ; @PostMapping ( "/transfer" ) public void transfer () { accountServiceImpl .transfer( 30 ); } } package guru.springframework.cruddemo.service.impl; import guru.springframework.cruddemo.entity.Account; import guru.springframework.cruddemo.repository.AccountRepository; import guru.springframework.cruddemo.service.AccountService; import guru.springframework.cruddemo.service.TxProxyDemoService; import lombok. RequiredAr...