-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
JdbcCustomization for Oracle #366
Comments
@kagkarlsson Can you have a look and share your thoughts on this? I was planning to add the
|
Will have a look soon. On vacation. We should probably fix the two issues you mention |
I'll try and work on a PR. Once you're back you can have a look. Enjoy your vacation. |
There was a similar problem in #357, I pushed a change similar to what you suggest there |
Why do we need |
I had a look at how we can support explicit query limit part. It is easy to support this via If this is supported in future in a easy way the new Thanks for looking into this. I hope you had a great vacation. |
For non-postgres
I was hoping this orchestration could lie in |
Now possible to set |
For lock-and-fetch, I have started a PR for adding support via two statements in #371 (only dependency update at time of writing) |
After #371 lands, it will be minimal work to support this for Oracle. This PR also adds explicit LIMIT |
AutodetectJdbcCustomization
currently only supports PostgreSQL and MSSQL. Explicit query limit parts are supported by newer versions of Oracle as well. This can be achieved as below:FETCH FIRST 5 ROWS ONLY
Although
JdbcCustomization
can be defined for Oracle, there is no way to set this explicitly during autoconfiguration in Spring Boot.How can this be achieved? Since
DbSchedulerCustomizer
allows customizations which cannot be done via configuration properties, it can also allow setting a customJdbcCustomization
which can then be used by theSchedulerBuilder
during the autoconfiguration.The text was updated successfully, but these errors were encountered: