-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Home
Tobias edited this page May 22, 2014
·
35 revisions
JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern.
#Modifications This fork is continuusly improved. All modifications could be followed at the Release Notes.
The parser is built using JavaCC. The core JavaCC grammar for SQL has been taken from Guido Draheim's site and has been changed in order to produce a hierarchy of Java classes.
Visit JSqlParsers Sonar place here (thanks to vasilievip)
To use JSqlParser in a maven project you have to include the following dependency:
<dependency>
<groupId>com.github.jsqlparser</groupId>
<artifactId>jsqlparser</artifactId>
<version>0.9</version>
</dependency>
Find some examples of JSqlParsers usage.
Feel free to provide more examples.