@Test public void testMethod05() { orderService.method05(); }
@Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) public void method05() { OrderDO order = orderRepository.findById(1).orElse(null); System.out.println(order); self().method052(); }
OrderService { @Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) public void method05() { OrderDO order = orderRepository.findById(1).orElse(null); System.out.println(order); self().method052(); } }
OrderService { @Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) public void method05() { OrderDO order = orderRepository.findById(1).orElse(null); System.out.println(order); self().method052(); }  }
OrderService { @Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) public void method05() { OrderDO order = orderRepository.findById(1).orElse(null); System.out.println(order); self().method052(); }  void method01(); @Transactional // 报错，找不到事务管理器 void method02(); void method03(); @Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) void method031(); @Transactional(transactionManager = DBConstants.TX_MANAGER_USERS) void method032(); @Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) void method05(); @Transactional(transactionManager = DBConstants.TX_MANAGER_USERS, propagation = Propagation.REQUIRES_NEW) void method052(); }
OrderService { @Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) public void method05() { OrderDO order = orderRepository.findById(1).orElse(null); System.out.println(order); self().method052(); }  void method01(); @Transactional // 报错，找不到事务管理器 void method02(); void method03(); @Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) void method031(); @Transactional(transactionManager = DBConstants.TX_MANAGER_USERS) void method032(); @Transactional(transactionManager = DBConstants.TX_MANAGER_ORDERS) void method05(); @Transactional(transactionManager = DBConstants.TX_MANAGER_USERS, propagation = Propagation.REQUIRES_NEW) void method052();  }