-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: spring-data-supporttheme: validationtype: bug
Milestone
Description
Describe the bug
Syntax highlighting fails to recognize the following as a valid native query:
@Query(
nativeQuery = true,
value = """
SELECT *
FROM some_table
WHERE jsonb_field ? 'some_key'
"""
)
void example();

More information about the operator can be found at
https://www.postgresql.org/docs/9.5/functions-json.html#FUNCTIONS-JSONB-OP-TABLE
To Reproduce
Paste the example query into any JpaRepository interface.
I've currently set SQL_SYNTAX option from ERROR to HINT to get rid of the error.
VS Code Version: 1.102.3 (Universal)
All the extensions are up to date
Metadata
Metadata
Assignees
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: spring-data-supporttheme: validationtype: bug