Closed as not planned
Closed as not planned
Description
Description
After upgrading Spring Boot from 3.2.7
to 3.3.1
our multi-datasource based on the AbstractRoutingDataSource stopped working. We have a test that tests different @Transactional
- combinations.
I did read a lot about the LazyConnectionDataSourceProxy
in issues like #15480, but nothing really worked:
- Use
LazyConnectionDataSourceProxy
as my primary datasource with the target / readonly datasource feature - Wrapping our
AbstractRoutingDataSource
inLazyConnectionDataSourceProxy
Versions
OS: macOS 14.5
Java: 17
Spring Boot:
- 3.2.7 ✅
- 3.3.0 ❌
- 3.3.1 ❌
How to reproduce the issue
Repository: https://github.com/open-source-issues/spring-multi-datasource
Command: https://github.com/open-source-issues/spring-multi-datasource/blob/main/README.md