Skip site navigation (1) Skip section navigation (2)

New code for JDBC driver

From: "Arsalan Zaidi" <azaidi(at)directi(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: New code for JDBC driver
Date: 2001-06-30 10:50:10
Message-ID: 00c801c10152$899d0680$4301a8c0@directi.com (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-jdbc
No response for my query since yesterday.

I've changed the code in Connection.escapeSQL() to look for semicolons
outside '' and ""'s.

It's not been well tested, but it seems to work. Someone might want to add
it to the source tree, or to their own local versions if they wish.

--Arsalan

Attachment: code.java
Description: application/octet-stream (2.6 KB)

Responses

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2001-06-30 16:37:10
Subject: Re: New code for JDBC driver
Previous:From: Arsalan ZaidiDate: 2001-06-29 08:34:11
Subject: Escaping SQL using the Postgresql JDBC driver

pgsql-jdbc by date

Next:From: Bruce MomjianDate: 2001-06-30 16:37:10
Subject: Re: New code for JDBC driver
Previous:From: 이주형Date: 2001-06-30 10:16:58
Subject: JDBC 2 question --- NoClassDefFoundError in Poolman

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group