JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern
a mature, highly concurrent JDBC Connection pooling library, with support for caching and reuse of PreparedStatements.