UBOdin's fork of JSQLParser is no longer under active development, and has been replaced by Sparsity
It also appears that JSQLParser is in active development On GitHub
A fork of JSqlParser.
- ... was last updated in 2013 (and is hosted on SourceForge).
- ... lacks support for Java Generics (e.g., List<...>)
- ... is designed to capture the structure, rather than the semantics of SQL. For example, explicitly encoding Parenthesis in the SQL AST makes it easier to reproduce the original SQL statement, but much much much harder to work with.
- ... has numerous confusing inconsistencies. For example, Boolean operators have inline constructors
(
new AndExpression(lhs,rhs)
), but Arithmetic operators do not (There's nonew Addition(lhs,rhs)
, justnew Addition()
).
Not all of these issues are fixed yet.
JavaDoc for JSQLParser can be found here