pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: j.random.programmer <javadesigner@yahoo.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString() is buggy
Date: Mon, 19 Dec 2005 15:36:08 -0800 (PST)
Message-ID: <20051219233608.15135.qmail@web32002.mail.mud.yahoo.com> (raw)
In-Reply-To: <43A74230.8030706@opencloud.com>

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 ?

Also note in the past, booleans would get 
converted to '1' and stored in BIT columns.
With the latest driver, java booleans are sent as 
the number 1 (no quotes) and thus cannot be 
stored in a BIT column, in direct contradiction to 
the JDBC spec. (that's a different issue, see my
other post but I have a feeling it may somehow
be related).

Best regards,
--j

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (4+ messages)  latest in thread

Message-ID: <20051219233608.15135.qmail@web32002.mail.mud.yahoo.com>
Permalink:  ../20051219233608.15135.qmail@web32002.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20051219233608.15135.qmail@web32002.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: javadesigner@yahoo.com, oliver@opencloud.com
  Subject: Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString() is buggy
  In-Reply-To: <20051219233608.15135.qmail@web32002.mail.mud.yahoo.com>
  References: <43A74230.8030706@opencloud.com> <20051219233608.15135.qmail@web32002.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox