Menu

net.sf.jsqlparser.JSQLParserException

2017-04-07
2017-04-07
  • Devanshi Shah

    Devanshi Shah - 2017-04-07

    I am getting the following exceptions
    1)Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "INDEX" "INDEX "" at line 1, column 34.
    2)Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "ON" "ON "" at line 1, column 25.
    and many more
    For the following queries :
    1)ALTER TABLE XXX DROP INDEX ABC
    2)DROP INDEX [idx] ON ABC;

    I am using jsqlparser version:1.0
    Help Plz

     
  • Leonardo Francalanci

    alter table/drop index are not managed yet...

     
  • Devanshi Shah

    Devanshi Shah - 2017-04-07

    Thanx Leonardo Francalanci
    Can you please suggest me any other option for this? Because my task is to check whether the statement is DDL or DML.

     

Log in to post a comment.