Skip to content

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

Closed

Description

@jacqueschar

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

Activity

  1. changed the title [-]weird vscode JPQL/HQL vscode syntax error in Spring Boot[/-] [+]weird vscode JPQL/HQL syntax error in Spring Boot[/+] on Jun 20, 2024
  2. 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[/+] on Jun 20, 2024
  3. added this to the 4.24.0.RELEASE milestone on Jun 20, 2024
  4. martinlippert commented on Jun 20, 2024

    @martinlippert
    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.

  5. jacqueschar commented on Jun 20, 2024

    @jacqueschar
    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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions