Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 43983633C6D for ; Sat, 20 Feb 2010 15:21:56 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 22441-09-2 for ; Sat, 20 Feb 2010 19:21:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id A4BDA62DBD8 for ; Sat, 20 Feb 2010 15:21:42 -0400 (AST) Received: by leary.csoft.net (Postfix, from userid 1112) id 0FBA4A3DB; Sat, 20 Feb 2010 14:21:41 -0500 (EST) Date: Sat, 20 Feb 2010 14:21:40 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: list_usr@spacebox.net cc: pgsql-jdbc@postgresql.org Subject: Re: Column is of type date but expression is of type text In-Reply-To: <1e11c2271002191721hbce2124r189dbecebe78bcd@mail.gmail.com> Message-ID: References: <1e11c2271002171814i704d31f4oca1d819dc5a02103@mail.gmail.com> <1e11c2271002181327g52545a34u6a91c5b17cd1fdfd@mail.gmail.com> <1e11c2271002191721hbce2124r189dbecebe78bcd@mail.gmail.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/37 X-Sequence-Number: 20324 On Fri, 19 Feb 2010, list_usr@spacebox.net wrote: > Re: version, good question - I have both postgresql-8.4-701.jdbc3.jar > and postgresql-8.4-701.jdbc4.jar in my Apache Tomcat 5.5 common/lib > directory. Would that cause a problem? > > I'm using PostgreSQL 8.4. Java 1.6. > > Your example code worked with both jdbc3 and jdbc4, but my code still > isn't working. Well those versions are all recent enough not to have any problems. If my code works and yours doesn't it's likely you're not telling us something about your code. If you can create a self-contained testcase like I did then I'd be happy to look at it, but it doesn't look like a driver problem. Kris Jurka