Skip to content

how should I user 'hibernate_sequence.nextval ' in jsqlparser2.0 #773

@hw1986232

Description

@hw1986232

hi:
There is a problem when I use 2.0 to parse sql string "INSERT INTO tableA(ID,c1,c2) select hibernate_sequence.nextval,c1,c2 from tableB",

CCJSqlParser parser = new CCJSqlParser(new StreamProvider(statementReader))
the error message is

Caused by:net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "." "."
at line 1, column 101.

How should i to dealwith '.' which in "hibernate_sequence.nextval" ? Could You send a email to hw1986232@163.com?

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions