**Describe the bug** Syntax highlighting fails to recognize the following as a valid native query: ```java @Query( nativeQuery = true, value = """ SELECT * FROM some_table WHERE jsonb_field ? 'some_key' """ ) void example(); ``` <img width="617" height="192" alt="Image" src="https://github.com/user-attachments/assets/e090571c-b191-4426-a2fe-cb74b5c21f09" /> 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
Activity
martinlippert commentedon Aug 8, 2025
Candidate for backporting to
4.32.0BoykoAlex commentedon Aug 9, 2025
mainbranch fix: 0ce792d4.xbranch fix: b76603dI'd try distro build on Monday night (Aug 11):
STS5: https://cdn.spring.io/spring-tools/snapshot/nightly-distributions.html
STS4: https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html