We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Spring framework uses the compile time information, provided by -parametesr compiler arg, for dependency injection.
In my project I have 2 DataSource beans and I want the one with name/alias "dataSouce" to be used by your DbSchedulerAutoConfiguration.
It should work when the -parameters compiler arg is used, now it does not.
As db-scheduler-boot-starter is actually a spring boot dedicated project, it should be built with that flag.
spring-boot-parent pom set this flag by default. It is also set when Gradle spring boot plugin is used. Please read it for reference: https://stackoverflow.com/questions/31845676/how-to-compile-spring-boot-applications-with-java-8-parameter-flag/49316086#49316086
I do not want to use spring Primary annotation, because the DataSource which should be used is actually not a primary DataSource in my project.
The text was updated successfully, but these errors were encountered:
Yeah, sounds like something we should add 👍
Sorry, something went wrong.
We need better control over the selection of datasource, see #626
No branches or pull requests
Spring framework uses the compile time information, provided by -parametesr compiler arg, for dependency injection.
In my project I have 2 DataSource beans and I want the one with name/alias "dataSouce" to be used by your DbSchedulerAutoConfiguration.
It should work when the -parameters compiler arg is used, now it does not.
As db-scheduler-boot-starter is actually a spring boot dedicated project, it should be built with that flag.
spring-boot-parent pom set this flag by default. It is also set when Gradle spring boot plugin is used.
Please read it for reference:
https://stackoverflow.com/questions/31845676/how-to-compile-spring-boot-applications-with-java-8-parameter-flag/49316086#49316086
I do not want to use spring Primary annotation, because the DataSource which should be used is actually not a primary DataSource in my project.
The text was updated successfully, but these errors were encountered: