Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-dev] SQL Query model and parser delivery (part 2)


I've checked the following plugins into the sqltools project:

  org.eclipse.datatools.sqltools.parsers.sql
  org.eclipse.datatools.sqltools.parsers.sql.lexer
  org.eclipse.datatools.sqltools.parsers.sql.query
  org.eclipse.datatools.sqltools.parsers.sql.query.test
  org.eclipse.datatools.sqltools.parsers.sql.test
  org.eclipse.datatools.sqltools.parsers.sql.xml.query
  org.eclipse.datatools.sqltools.parsers.sql.xml.query.test

The test plugins contain JUnit tests for the parser plugins, and they exercise the SQL query model plugins as well.  The tests can give you overview of what the parsers can do.  They also include an "InteractiveTest" class that is kind of fun;  you type in a SQL (DML) string and it will show you the query model structure that the parser generates plus the SQL source that is reconstructed from the model.

FYI, the parser classes were written by Christian Kadner and Rupesh Kartha.

Regards,
Brian

Brian Payton
SQL Tools Development
IBM Silicon Valley Laboratory
(408) 463-2989, T/L 8-543-2989


Back to the top