-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodepatch candidatetheme: spring-data-supporttype: bug
Milestone
Description
Describe the bug
We are invalid VS Code SQL validation for Spring Data native queries after the latest update.
For projects using MariaDB native queries, the extension appears to fall back to PostgreSQL parsing/validation when it cannot find a MySQL connector on the classpath. This results in many false-positive validation errors for valid MariaDB SQL.
From looking at the code, I believe the relevant logic is here:
JdtDataQuerySemanticTokensProvider.java around line 120
Line 120 in e4be66b
| private SemanticTokensDataProvider getSqlSemanticTokensProvider(IJavaProject project) { |
We are using the MariaDB java client as follow
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
Reactions are currently unavailable
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 VSCodepatch candidatetheme: spring-data-supporttype: bug