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 980BA3A5192 for ; Thu, 13 Jan 2005 13:52:48 +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 46083-06 for ; Thu, 13 Jan 2005 13:52:34 +0000 (GMT) Received: from mx.vitrado.de (mx.vitrado.de [194.97.5.172]) by svr1.postgresql.org (Postfix) with ESMTP id 07BF43A4F19 for ; Thu, 13 Jan 2005 13:52:37 +0000 (GMT) Received: from morpheus.vitrado.de ([194.97.5.114] helo=vitrado-011.intranet.de) by mx.vitrado.de with asmtp (Exim 4.34 and XAMS pre-0.0.16) id 1Cp5Oq-0005jZ-3v; Thu, 13 Jan 2005 14:52:32 +0100 From: Oliver Siegmar Organization: Vitrado GmbH To: Kris Jurka Subject: Re: Problems with infinity Date: Thu, 13 Jan 2005 14:52:31 +0100 User-Agent: KMail/1.7.1 References: <200501131419.00993.o.siegmar@vitrado.de> In-Reply-To: Cc: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200501131452.31209.o.siegmar@vitrado.de> X-VITRADO-MailScanner: Not scanned X-MailScanner-From: o.siegmar@vitrado.de X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/99 X-Sequence-Number: 11979 On Thursday 13 January 2005 14:42, Kris Jurka wrote: > On Thu, 13 Jan 2005, Oliver Siegmar wrote: > > Caused by: org.postgresql.util.PSQLException: Bad Timestamp Format at 0 > > in 9999-01-01 > > This is indeed a bug in the 7.4 drivers. Will you fix it? ;-) > You may use getString() on the column and check for infinity yourself. > Using setString(x, "Infinity") will work with the 7.4 drivers, but not > 8.0. Perhaps we could make setObject(x, "Infinity", Types.TIMESTAMP) > accomodate this though... I'm using Hibernate for getting/setting data - I don't access the data=20 directly. Dropping infinity support, means I cannot work with Hibernate on= =20 databases with infinite timestamps :-(( Couldn't you make it configurable (like 'convert_infinite_to_min_max =3D tr= ue')? Cheers, Oliver =2D-=20 =2D Technik - www.vitrado.de =46ax: +49 (0)89 - 62 44 77 - 39 vitrado GmbH Grillparzerstrasse 3 81675 M=FCnchen ______________________________________ Gesch=E4ftsf=FChrer: Thorsten Meier, Martin Pl=F6ckl Amtsgericht M=FCnchen, HRB 13119