스프링 트랜잭션 전파1
·
Spring
트랜잭션 전파 - 트랜잭션 두번 사용@Slf4j@SpringBootTestpublic class BasicTxTest { @Autowired PlatformTransactionManager txManager; @Autowired private DataSourceTransactionManager transactionManager; @TestConfiguration static class Config { @Bean public PlatformTransactionManager transactionManager(DataSource dataSource) { return new DataSourceTransactionManager(dataS..