-
Notifications
You must be signed in to change notification settings - Fork 377
DATAJDBC-293 @EnableJdbcRepositories support multi jdbcTemplate #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@kdlan Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
|
@kdlan Thank you for signing the Contributor License Agreement! |
b20ccf0 to
900f910
Compare
schauder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, this seems to break backward compatibility in cases where a unique NamedParameterJdbcOperations bean is present but has a different name.
We need a backward compatible to do this.
Also, please add @author tags to the files changed with your name written in latin letters.
|
Reference to determineAutowireCandidate, for backward compatible
Is that ok? |
|
That sounds correct. |
|
Make a new commit for backward compatible. Reference to OrderUtils, the priority of bean definetion depends on |
Removed most usage of the Stream API. Improved error messages. Added tests. Code formatting. Original pull request: #102.
|
That's polished and merged. Thanks. |
If the application use multiple DataSources for different domain classes, Spring Data JDBC does support it directly
with @EnableJdbcRepositories add a property jdbcOperationsRef in order to support this.