Skip to content

[BUG] JSQLParser 5.1 : Oracle : PRIOR keyword with LIKE operator #2158

@gjwlstjr

Description

@gjwlstjr

Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram

Failing SQL Feature:

  • Parsing error on Oracle Hierarachy statement
  • Example: CONNECT BY PRIOR can't be parsed

SQL Example:

  • This query
    SELECT dummy FROM dual CONNECT BY dummy LIKE PRIOR dummy || '.%'
    raise parsing errror
    at line 1, column 41.

Was expecting one of:

    <EOF>
    <ST_SEMICOLON>

Software Information:

  • JSqlParser 5.1
  • Oracle Databse 19c Stadard Edition

Reference : https://docs.oracle.com/cd/B12037_01/server.101/b10759/queries003.htm

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