Skip to content

Parse JdbcNamedParameters with the same name as a keyword #456

@chrycheng

Description

@chrycheng

An example statement is select * from t where c = :from. Attached is the output of a test with parser debugging enabled. I'm not really familiar with JavaCC but from what I can tell from JdbcNamedParameter's definition in JSqlParserCC.jjt, it's expected to be composed of a : and an S_IDENTIFIER. S_IDENTIFIER's definition itself seems to have no restriction regarding keywords. Please correct me if I'm wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions