Skip to content

[BUG] JSQLParser 5.4-SNAPSHOT : Oracle : outer join operator (+) after LIKE / SIMILAR TO operand #2598

Description

@fudianchn

AI disclosure: this issue was prepared with AI coding agents, reviewed and revised line by line by me.

Failing SQL Feature:

SQL Example:

SELECT * FROM table1 t1, table2 t2 WHERE t1.col1 LIKE t2.col2(+)
net.sf.jsqlparser.parser.ParseException: Encountered: <OPENING_BRACKET> / "("

The same failure occurs for NOT LIKE t2.col2(+), SIMILAR TO t2.col2(+), and when an ESCAPE clause follows (LIKE t2.col2(+) ESCAPE '\').

Attaching (+) to the left operand (t1.col1(+) LIKE t2.col2) already parses fine, only the right operand is missing.

Software Information:

  • JSqlParser version: 5.4-SNAPSHOT (master 7cc86386)
  • Database: Oracle

Tips:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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