Skip to content

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

Closed

Description

@raulvaldoleiros

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

Activity

  1. added
    for: eclipse
    for: vscode
    and removed on Oct 25, 2024
  2. added this to the 4.27.0.RELEASE milestone on Oct 25, 2024
  3. martinlippert commented on Oct 25, 2024

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

  4. raulvaldoleiros commented on Oct 29, 2024

    @raulvaldoleiros
    Author

    Thanks for sharing :)

  5. BoykoAlex commented on Nov 6, 2024

    @BoykoAlex
    Contributor

    Fixed with ea03371 and b31e634

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

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: spring-data-supporttheme: validationtype: bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions