I dont know of a "Commons" SQL parser but a quick glimpse in google gave me the following:
1) http://www.eclipse.org/datatools/project_sqldevtools/sqltools_doc/SQL%20Query%20Parser%20User%20documentation.htm 2) http://www.experlog.com/gibello/zql/ 3) http://www.cs.toronto.edu/~jglu/sql4j/index.htm The most fun alternative is to use javaCC (https://javacc.dev.java.net/) and create your own grammar spec. HTH, if not..use JavaCC :) Alessandro Ferrucci :) On Nov 29, 2007 8:48 AM, Vijay <[EMAIL PROTECTED]> wrote: > Hi, > > > I am looking for library which can parse SQL statement for correctness > before handled to PreparedStatement/Statement in JDBC. I have urgent > requirement. > > Thanks if anyone can help me. > > Vijay > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
