We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@Query
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
We should clarify what should happen when a query annotation is configured with a query and a named query:
@Query(value="select * from User", name = "User.findBySpringDataNamedQuery")
Right now, the provided string query is used. Ideally, we do something towards helping to understand that such a configuration creates ambiguity.
See also spring-projects/spring-data-jpa#2319.
The text was updated successfully, but these errors were encountered:
We use the declared query string and not named queries. Let's add a warn logging in that cases.
Sorry, something went wrong.
Log a warning when a query method is annotated with a query and a que…
56ad839
…ry name. We now log when a query method has an ambiguous declaration to clarify that the declared query is used. Closes #1061.
Polishing.
63568aa
Reduce test element visibility according to JUnit 5 requirements. See #1061
09596ce
4be6bc2
mp911de
No branches or pull requests
We should clarify what should happen when a query annotation is configured with a query and a named query:
Right now, the provided string query is used. Ideally, we do something towards helping to understand that such a configuration creates ambiguity.
See also spring-projects/spring-data-jpa#2319.
The text was updated successfully, but these errors were encountered: