Re: Problems with infinity - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Problems with infinity
Date
Msg-id Pine.BSO.4.56.0501210303480.19480@leary.csoft.net
Whole thread Raw
In response to Re: Problems with infinity  (Oliver Siegmar <o.siegmar@vitrado.de>)
Responses Re: Problems with infinity
List pgsql-jdbc

On Tue, 18 Jan 2005, Oliver Siegmar wrote:

> The current infinity implementation in pgjdbc is a hack, because you have to
> set/get magic values that represents '-infinity' and 'infinity', but it is
> imho the best way to do until there might be an NEGATIVE_INFINITY and
> POSITIVE_INFINTIY for java.util.Date like the one for java.lang.Double.
>

Well, no one seems to have any better ideas, how about a better place for
the infinity constants.  org.postgresql.jdbc2.TimestampUtils is not a
public interface.  PGStatement?

http://jdbc.postgresql.org/documentation/publicapi/index.html

Kris Jurka

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: DataSource
Next
From: Oliver Siegmar
Date:
Subject: Re: Problems with infinity