-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Improve configuration support for customizing JDBC session SQL statements #1199
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
Comments
In fact it appears there isn't an easy way to serve my own custom Thoughts? |
The Regarding Spring Boot and its |
Yeah unfortunately I've just had to replicate |
Yes, Spring Boot's auto-configuration will back-off once you provide a |
Hi @vpavic I can override just table name for UPDATE: created a new issue #1347 |
Hi @moleksyuk - as your request is a bit different, could you please open a new issue? |
Instead of going with configuration API that's focused on That will allow to apply more advanced configuration without have to register the session repository bean manually, and therefore have Spring Boot's auto-configuration back off. |
@vpavic can you share any spring document to ovverride a jdbcOperationsSessionRepository with customOperationSessionRepository to provide a custom sql queries? |
I want to simply override the
prepareQueries
method in this repository class and add my overriden queries there. For some reason this is private for no obvious reason (perhaps I am missing it).Would be like to make this method
protected
Thanks!
The text was updated successfully, but these errors were encountered: