However, it always complains that [javacc] Warning: Choice conflict in [...] construct at ........... And the parser cannot identify the sql statement.
How can I solve this problem? Thank you very much.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
jsqlparser is really very good stuff. Thanks for it!
I want to add the database name before the table. For example, a table name likes myserver.hr.jobs, in which "myserver" is the database name.
I tried to modify the Table() section in the file JSqlParserCC.jj. The table() section like:
Table Table():
{
Table table = null;
String name1 = null;
String name2 = null;
String name3 = null;
}
{
name1=RelObjectName() [ "." name2=RelObjectName() ["." name3=RelObjectName()]]
{
.......
}
}
However, it always complains that [javacc] Warning: Choice conflict in [...] construct at ........... And the parser cannot identify the sql statement.
How can I solve this problem? Thank you very much.