JSqlParser
JSqlParser copied to clipboard
JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern
Always check against the **Latest SNAPSHOT of JSQLParser** and the [Syntax Diagram](https://jsqlparser.github.io/JSqlParser/syntax_snapshot.html) ### Failing SQL Feature: - `CASE WHEN EXISTS` can't be parsed ### SQL Example: SELECT id, RECORD_ID, MODULE_ID,...
I have a query: `select A from B where (A ~ 'fish')` which when tree walking with an ExpressionVisitor, I end up in `void visit(RegExpMatchOperator regExpMatchOperator) {...}`, the parent of...
The first parameter of the `array_map` function is `(x, y, z) -> x + y`, but it is incorrectly parsed as `(x, y, z)`. `Statement statement = CCJSqlParserUtil.parse("select array_map((x,y,z) ->...
### Failing SQL Feature: Stored procedures with placeholders are failing to parse. Multiple placeholders is failing parsing which is better. Previously this was being parsed successfuly in 1.x but with...
Always check against the **Latest SNAPSHOT of JSQLParser** and the [Syntax Diagram](https://jsqlparser.github.io/JSqlParser/syntax_snapshot.html) ### Failing SQL Feature: - mysql unique index parse fail ### SQL Example: - Simplified...
Always check against the **Latest SNAPSHOT of JSQLParser** and the [Syntax Diagram](https://jsqlparser.github.io/JSqlParser/syntax_snapshot.html) ### Failing SQL Feature: - net.sf.jsqlparser.JSQLParserException: Encountered unexpected token: "ALL" "ALL" at line 1, column 8. Was expecting...
### SQL Example: public static void main(String[] args) { String sql = "SELECT STUFF((SELECT ',' + name FROM class order by id FOR XML PATH('')),1,1,'') AS names from " +...
### Description: - When using a mix of JSON and relational operators, there is a priority error in the parsing results. - The new sql lost some blank spaces. ###...
Always check against the **Latest SNAPSHOT of JSQLParser** and the [Syntax Diagram](https://jsqlparser.github.io/JSqlParser/syntax_snapshot.html) ### Failing SQL Feature: - Brief description of the failing SQL feature - `xmlagg` can't be parsed ###...
Always check against the **Latest SNAPSHOT of JSQLParser** and the [Syntax Diagram](https://jsqlparser.github.io/JSqlParser/syntax_snapshot.html) ### Failing SQL Feature: - unable to parse: ALTER TABLE .. ADD INDEX fAdd for composite index -...