Open kota65535 opened 8 months ago
Hi @mp911de @schauder, could you please take a look?
@Mikhail2048 Thanks for your review. I've fixed the points you mentined, please check it.
@mp911de @schauder Could this PR be included to 3.3 M2? Thank you!
@mp911de @schauder @Mikhail2048 Could you please review when you have time?
fix: #544, #687, #994
This PR adds
jdbcAggregateOperationsRef
to@EnableJdbcRepositories
that enables to specify JdbcAggregateOperations bean name to be used for creating repositories, which significantly simplifies the configuration for multiple repositories. I've also created a sample project for testing this feature. Multiple repositories with different dialects can be configured using two configurations (Db1Config.java, Db2Config.java). As you can see, creating the JdbcAggregateOperations bean is still a bit messy. It may be better to have some factory class for creating them.