X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BE01956503 for ; Wed, 9 Mar 2005 17:04:52 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 76448-10 for ; Wed, 9 Mar 2005 17:04:48 +0000 (GMT) Received: from mnc.ch (unknown [212.23.250.43]) by svr1.postgresql.org (Postfix) with ESMTP id 2FF02564D2 for ; Wed, 9 Mar 2005 17:04:46 +0000 (GMT) Received: (qmail 25974 invoked from network); 9 Mar 2005 18:04:42 +0100 Received: from 62-2-77-204.business.cablecom.ch (HELO meuh.mnc.ch) (62.2.77.204) by www.mnc.ch.com with SMTP; 9 Mar 2005 18:04:42 +0100 Received: by meuh.mnc.ch (Postfix, from userid 1000) id 0E64123F50B; Wed, 9 Mar 2005 18:04:38 +0100 (CET) To: "Silvio Bierman" Cc: "PostgreSQL JDBC" Subject: Re: FW: PreparedStatement#setString on non-string parameters References: From: Guillaume Cottenceau Date: 09 Mar 2005 18:04:38 +0100 In-Reply-To: Message-ID: <87ll8wiwd5.fsf@meuh.mnc.ch> Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.052 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/90 X-Sequence-Number: 12482 "Silvio Bierman" 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