From 9d42f368206cabff48b6c4028afc704e0f055551 Mon Sep 17 00:00:00 2001 From: Stefan Steinhauser Date: Fri, 31 Jan 2025 15:07:38 +0100 Subject: [PATCH] feat: Support not equals operator with a hat Support not equals operator with hat (^=), which is supported in Exasol https://docs.exasol.com/db/latest/sql_references/predicates/comparison_predicates.htm for example --- src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt b/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt index f0d1f0782..f61578871 100644 --- a/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt +++ b/src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt @@ -557,6 +557,7 @@ TOKEN : /* Operators */ | )* "="> | )* ">"> | )* "="> +| )* "="> | )* "|"> | | "> @@ -4081,6 +4082,7 @@ Expression RegularCondition() #RegularCondition: | token= { result = new MinorThanEquals(token.image); } | token= { result = new NotEqualsTo(token.image); } | token= { result = new NotEqualsTo(token.image); } + | token= { result = new NotEqualsTo(token.image); } | "*=" { result = new TSQLLeftJoin(); } | "=*" { result = new TSQLRightJoin(); } | token= { result = new DoubleAnd(); }