spring-projects / sts4

The next generation of tooling for Spring Boot, including support for Cloud Foundry manifest files, Concourse CI pipeline definitions, BOSH deployment manifests, and more... - Available for Eclipse, Visual Studio Code, and Theia

Home Page:https://spring.io/tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQL syntax validation

BoykoAlex opened this issue · comments

Currently MySQL grammar is used for semantic tokens and syntax validation for the native queries.
However, there are more flavours of SQL available: PostGres, MariaDB, etc (see https://github.com/antlr/grammars-v4/tree/master/sql)

Perhaps an inference can be made from the classpath JARs to indicate which SQL parser should be used... Perhaps we may want to opt out from supporting native query syntax validation completely (too much for a rather limited use case), perhaps the same is true for semantic tokens... The most commonly used ones might be supported and for the rest no syntax validation... TBD