Replies: 2 comments
-
I'm using reflection as workaround for now.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Sure, I am open to such a change. Not sure how it is best done in Spring though, but feel free to open a PR for it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to update the Spring auto-configuration so that the DataSource would be configurable, or at least specifically injectable?
Reference: DbSchedulerAutoConfiguration.java
The idea behind this is that I have two cases:
The implementation could be done by extending DbSchedulerCustomizer or, alternatively, by implementing a simple provider class specifically for the DataSource, like this:
and then
If this approach is acceptable, I can implement it.
This is currently a blocker for me because I don't want to create my own auto-configuration, as I would prefer not to manage potential changes there. However, I also need some additional customization.
Beta Was this translation helpful? Give feedback.
All reactions