JSqlParser
JSqlParser copied to clipboard
[BUG] JSQLParser Version : RDBMS : failing feature description
Always check against the Latest SNAPSHOT of JSQLParser and the Syntax Diagram
Failing SQL Feature:
net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "||" <OP_CONCAT>
SQL Example:
- Simplified Query Example, focusing on the failing feature
-- Replace with your ACTUAL example select * from tuser where name like '%'||?||'%'
Software Information:
- JSqlParser version 4.2
- Database Oracle
Tips:
Please write in English and avoid Screenshots (as we can't copy and paste content from it). Try your example online with the latest JSQLParser and share the link in the error report. Do provide Links or References to the specific Grammar and Syntax you are trying to use.
Greetings.
You will need to put spaces in between the operators, e.g.
SELECT *
FROM tuser
WHERE name LIKE '%' || ? || '%'
;
Also please use the latest version of JSQLParser 4.9.
Closed as stale when answered and no further questions have been asked.