-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
@kasgilpofi
Description
Failing SQL Feature:
NullPointerException when using .withUnsupportedStatements(true)
CCJSqlParserUtil.newParser(sql).withUnsupportedStatements(true).Statement();
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "Object.toString()" because "stm" is null
at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:452)
SQL Example:
SELECT EMP_ID, EMP_NAME, CONNECT_BY_ROOT (EMP_NAME || '_' || EMP_ID) AS ROOT_MANAGER, SYS_CONNECT_BY_PATH(EMP_NAME, ' -> ') AS PATH FROM EMPLOYEES START WITH MANAGER_ID IS NULL CONNECT BY PRIOR EMP_ID = MANAGER_ID
Software Information:
- JSqlParser version 5.3
- Database Oracle
Metadata
Metadata
Assignees
Labels
No labels