Skip to content
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

VSCode - Error reported when using collate on @Query annotation #1393

Open
raulvaldoleiros opened this issue Oct 25, 2024 · 1 comment
Open
Assignees
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring-data-support theme: validation type: bug

Comments

@raulvaldoleiros
Copy link

When using the postgres collate function in @query with nativeQuery set to true, vscode presents an erro but the query is ok and works.
The following image shows the error.
image

@martinlippert
Copy link
Member

Thanks for reporting this, we will look into this to improve the validation here. In the meantime, you can switch off the query validation in the preferences (if the error is too annoying).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: spring-data-support theme: validation type: bug
Projects
None yet
Development

No branches or pull requests

3 participants