pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Siegmar <o.siegmar@vitrado.de>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problems with infinity
Date: Thu, 13 Jan 2005 14:52:31 +0100
Message-ID: <200501131452.31209.o.siegmar@vitrado.de> (raw)
In-Reply-To: <Pine.BSO.4.56.0501130835370.26@leary.csoft.net>
References: <200501131419.00993.o.siegmar@vitrado.de>
	<Pine.BSO.4.56.0501130835370.26@leary.csoft.net>

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 
directly. Dropping infinity support, means I cannot work with Hibernate on 
databases with infinite timestamps :-((

Couldn't you make it configurable (like 'convert_infinite_to_min_max = true')?


Cheers,
Oliver

-- 

- Technik -

www.vitrado.de
Fax: +49 (0)89 - 62 44 77 - 39

vitrado GmbH
Grillparzerstrasse 3
81675 München
______________________________________
Geschäftsführer: Thorsten Meier, Martin Plöckl
Amtsgericht München, HRB 13119




view thread (27+ messages)  latest in thread

Message-ID: <200501131452.31209.o.siegmar@vitrado.de>
Permalink:  ../200501131452.31209.o.siegmar@vitrado.de/
Also on:    postgresql.org/message-id/200501131452.31209.o.siegmar@vitrado.de

 · 

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: o.siegmar@vitrado.de, books@ejurka.com
  Subject: Re: Problems with infinity
  In-Reply-To: <200501131452.31209.o.siegmar@vitrado.de>
  References: <200501131419.00993.o.siegmar@vitrado.de> <Pine.BSO.4.56.0501130835370.26@leary.csoft.net> <200501131452.31209.o.siegmar@vitrado.de>

* 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