Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up| ★ wanayoo — archive 1999 https://github.com/JSQLParser/JSqlParser/issues/1061 | Nouvelle recherche | Portail wanayoo |
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
When I parse a oracle pl sql block script then it throws exception.
PLSQL:
Exception 1 ;
Encountered unexpected token: "P_VARIABLE" at line 2, column 5. Was expecting one of: "@" "@@"Exception 2:
I removed variable then occured CURSOR exception
Encountered unexpected token: "CURSOR" at line 2, column 5. Was expecting one of: "@" "@@"Exception 3:
I changed to code like,
Then it throwed this exception;
Encountered unexpected token: "FOR" "FOR" at line 2, column 5. Was expecting one of: "(" ";" "ALTER" "BEGIN" "CALL" "COMMENT" "COMMIT" "CREATE" "DECLARE" "DELETE" "DESCRIBE" "DROP" "EXEC" "EXECUTE" "EXPLAIN" "GRANT" "INSERT" "MERGE" "REPLACE" "SET" "SHOW" "TRUNCATE" "UPDATE" "UPSERT" "USE" "VALUES" "WITH"New keywords;
CURSOR
FOR LOOP
BEGIN EXCEPTION END
DECLARE
My java version 11
JSqlParser version 3.2