Skip to content

Try to optionally use JSqlParser for parsing SQL #2409

Closed
@schauder

Description

@schauder

https://github.com/JSQLParser/JSqlParser Seems to be a decent solution to the problem of SQL parsing.
We also have a lot of issue related to SQL and JPQL parsing.

Therefore we want to:

  • implement everything related to SQL parsing using JSqlParser
  • use that implementation when JSqlParser is on the classpath.

The downside of having two parser implementations is, that it might get confusing, what is going on for the user.
Therefore we should:

  • During startup log an INFO message what parser we are using.
  • If possible define well defined limits of the standard parser like: We can't parse anything with nested parenthesis and mention that information in documentation and in error messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions