Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString()

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: "j(dot)random(dot)programmer" <javadesigner(at)yahoo(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString()
Date: 2005-12-20 07:05:28
Message-ID: 43A7AD38.7040906@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

j.random.programmer wrote:
> Oliver:
>
>
>>I don't think the driver or the spec has ever
>>claimed that toString()
>>gives you a valid SQL statement.
>
>
> True :-)
>
> However, note that it *used* to do so. This is a
> regression from the past driver. And it would
> be nice to have anyway, won't it ?

Perhaps, but there are some implementation hurdles that mean it's not
really worth it (for example: what if a parameter is actually a binary
stream, and we're not reading it ahead of time?)

If you have a patch to do this, though, we can certainly look at
applying it.

-O

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Leonardo Ribeiro Queiros 2005-12-20 13:15:33 Applet - JDBC?
Previous Message Oliver Jowett 2005-12-20 07:03:40 Re: Bug: Driver(8.2dev-500.jdbc3) does not handle boolean->BIT