pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Cottenceau <gc@mnc.ch>
To: Silvio Bierman <sbierman@jambo-software.com>
Cc: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: FW: PreparedStatement#setString on non-string parameters
Date: 09 Mar 2005 18:04:38 +0100
Message-ID: <87ll8wiwd5.fsf@meuh.mnc.ch> (raw)
In-Reply-To: <JGEOKLDJHLJNAPFIBKBNMEIHDCAA.sbierman@jambo-software.com>
References: <JGEOKLDJHLJNAPFIBKBNMEIHDCAA.sbierman@jambo-software.com>

"Silvio Bierman" <sbierman 'at' jambo-software.com> writes:

> Either the JDBC drivers for the databases I mentioned earlier do the
> conversion or the database backends do it on the server side. Any way, this
> works in all cases. PostgreSQL is the first database to break our
> application due to this behaviour. We have had problems on earlier versions

But you understand it's not breaking the JDBC spec, though.

> of MySQL because of lack of subselect support etc. but never these issues.
> 
> I really love what I have seen of PostgreSQL until now and I am seriously
> considering making it our preferred database backend. The ability to run on
> both Linux and Windows is great, performance is excellent (I tried a quite
> large database) even when I am still inserting my GUID keys as varchar data
> and the admin tool is very good also.
>
> Telling my users to use an old JDBC driver is not an option though...

But telling the developers to follow the JDBC specs is definitely
an option :). Understand me: I know that there can be a real pile
of existing code that did run before, and is broken now by this
change. However, you cannot ask developers implementing a
specification to intentionally break the specification because
others drivers and old version did so.

-- 
Guillaume Cottenceau



view thread (14+ messages)

Message-ID: <87ll8wiwd5.fsf@meuh.mnc.ch>
Permalink:  ../87ll8wiwd5.fsf@meuh.mnc.ch/
Also on:    postgresql.org/message-id/87ll8wiwd5.fsf@meuh.mnc.ch

 · 

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: gc@mnc.ch, sbierman@jambo-software.com
  Subject: Re: FW: PreparedStatement#setString on non-string parameters
  In-Reply-To: <87ll8wiwd5.fsf@meuh.mnc.ch>
  References: <JGEOKLDJHLJNAPFIBKBNMEIHDCAA.sbierman@jambo-software.com> <87ll8wiwd5.fsf@meuh.mnc.ch>

* 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