- Can you connect multiple databases in Spring Boot?
- Can we have multiple transaction manager in spring?
Can you connect multiple databases in Spring Boot?
Actually, spring boot provides a very convenient way to use multiple datasources in a single application with properties file configurations.
Can we have multiple transaction manager in spring?
Can I use multiple transaction managers within a spring application? Yes. @Transactional annotation has the property transactionManager which can be set to specify which transaction manager to be used.