Re: SQL scipts parser - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: SQL scipts parser
Date
Msg-id 491f66a50902270722m16bcd0e4ha236878c7691b1f5@mail.gmail.com
Whole thread Raw
In response to SQL scipts parser  (Maciej Gawinecki <mgawinecki@gmail.com>)
Responses Re: SQL scipts parser  ("DGPickett" <DGPickett@aol.com>)
List pgsql-jdbc
The driver doesn't have anything like that in it. However check out antlr for SQL parsing.

Dave

On Fri, Feb 27, 2009 at 10:06 AM, Maciej Gawinecki <mgawinecki@gmail.com> wrote:
I'm looking for Java open-source SQL script reader/parser.

That would allow me to find SQL comments about tables and columns, usually given in the neighbourhood of CREATE TABLE, ALTER TABLE commands.

I suppose there's something like this in JDBC for PostgreSQL. Can you point me the sources/classes containing such a parser?

Best,
Maciej

--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: Maciej Gawinecki
Date:
Subject: SQL scipts parser
Next
From: DGPickett
Date:
Subject: Re: ResultSetMetaData.getColumnDisplaySize returns 2147483647 ?