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

weird vscode JPQL/HQL syntax error for @Query text block in Spring Boot #1279

Closed
jackytank opened this issue Jun 20, 2024 · 2 comments
Closed
Assignees

Comments

@jackytank
Copy link

Describe the bug
I had installed Spring Boot Extension Pack in VSCode and I detect weird JPQL/HQL syntax error present in my repository

image

although the code work fine without any runtime error, but VSCode still showing that weird syntax error makes me want to become a dictator and destroy the world

To Reproduce

Sample

image

@jackytank jackytank changed the title weird vscode JPQL/HQL vscode syntax error in Spring Boot weird vscode JPQL/HQL syntax error in Spring Boot Jun 20, 2024
@jackytank jackytank changed the title weird vscode JPQL/HQL syntax error in Spring Boot weird vscode JPQL/HQL syntax error for @Query text block in Spring Boot Jun 20, 2024
@martinlippert martinlippert added this to the 4.24.0.RELEASE milestone Jun 20, 2024
@martinlippert
Copy link
Member

In order to avoid you "become a dictator and destroy the world", you can switch off those validations in the Preferences -> Settings -> Extensions -> Spring Boot Tools -> Data Query as a quick workaround to get rid of those errors.

In the meantime, we will work on improving this for the next release.

@jackytank
Copy link
Author

thanks for your time sir, you had prevented possible WW3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants