-
Notifications
You must be signed in to change notification settings - Fork 359
A custom annotation above the method to generate SQL by the name of the method #1864
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
Methods invoked on the repository interface are already exposed in a thread-bound arrangement through |
Thank you very much, Mark! I will use this static method in my dialect now!
|
Spring version: 3.4.2 :(
|
Hi @mp911de, Could you please help me ? Any advice would be much appreciated! |
With spring-projects/spring-data-commons#3090 (Spring Data 3.4) we disabled default metadata exposure to be less resource-intensive. You can enable exposing invocation metadata by setting |
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to make an annotation that will participate in SQL generation on a spring-data-jdbc. You can say this is a hint for using an index in a database. It can look like:
I found a way to implement an interceptor from JdbcRepositoryFactoryBean:
And use it in MySelectRenderContext
And the question is, is it possible to do something better?
The text was updated successfully, but these errors were encountered: