Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6C38A9FB99E for ; Fri, 13 Apr 2007 16:34:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 37286-06-2 for ; Fri, 13 Apr 2007 16:33:55 -0300 (ADT) X-Greylist: delayed 00:46:06.870645 by SQLgrey-1.7.4 Received: from list.xcski.com (list.xcski.com [74.202.84.134]) by postgresql.org (Postfix) with ESMTP id 8ECD09FBB5D for ; Fri, 13 Apr 2007 16:33:56 -0300 (ADT) Received: from allhats.xcski.com (localhost.localdomain [127.0.0.1]) by list.xcski.com (Postfix) with ESMTP id B17694F00A3; Fri, 13 Apr 2007 15:33:55 -0400 (EDT) Received: by allhats.xcski.com (Golgafrincham B Ark, from userid 406) id 65F3241E039; Fri, 13 Apr 2007 15:33:55 -0400 (EDT) Date: Fri, 13 Apr 2007 15:33:55 -0400 From: Paul Tomblin To: Mark Lewis Cc: pgsql-jdbc@postgresql.org Subject: Re: What changed? Message-ID: <20070413193355.GA13445@allhats.xcski.com> References: <20070413184748.GA6562@allhats.xcski.com> <1176491774.8630.101.camel@archimedes> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1176491774.8630.101.camel@archimedes> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/37 X-Sequence-Number: 16886 Quoting Mark Lewis (mark.lewis@mir3.com): > This is addressed in the FAQ, look at the section titled, "I upgraded > from 7.x to 8.x. Why did my application break?" > > http://jdbc.postgresql.org/documentation/faq.html#upgradeTo80 Except neither of the two categories documented there apply to me. The problem I'm having is that I'm calling either stmt.setNull(p, java.sql.Types.TIMESTAMP); or stmt.setTimestamp(p, startDBDate); and it's staying that it can't tell the type, in spite of the fact that I do specify it in both cases. -- Paul Tomblin http://blog.xcski.com/ "We sealed our federal pact without bloodshed and without exploitation of the weak by the strong. All it took was fairness, justice and some compromises on both sides." - George-Etienne Cartier.