I'm trying to replace some projects to use Spring Data JDBC
instead of using JdbcTemplate
.
Now, I'd like to use it for multiple DataSource
s, how can I configure it in Spring Data JDBC?
I'm trying to replace some projects to use Spring Data JDBC
instead of using JdbcTemplate
.
Now, I'd like to use it for multiple DataSource
s, how can I configure it in Spring Data JDBC?
There is currently no support for working with two or more DataSource
s. You'd have to manually redo what the JdbcRepositoryFactoryBean
does.