"Conversion of interval failed" on PGInterval with 8.1dev-401.jdbc3.jar

From: "Jean-Pierre Pelletier" <pelletier_32(at)sympatico(dot)ca>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: "Conversion of interval failed" on PGInterval with 8.1dev-401.jdbc3.jar
Date: 2005-09-29 20:45:17
Message-ID: BAYC1-PASMTP03DAF8822DCF0C2A57C100958C0@CEZ.ICE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I've got PSQLException "Conversion of interval failed"
throwned when trying to read an interval larger than
100 hours (101:12:00) into a PGInterval object.
It was running fine with the build 312 jdbc3 driver.

Here is the line of code which cause the error:

PGInterval interval = (PGInterval) resultset.getObject(1);

I am running PostgreSQL 8.1 beta2 on Windows 2000.

Thanks
Jean-Pierre Pelletier
e-djuster

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2005-09-29 21:12:18 Re: "Conversion of interval failed" on PGInterval with
Previous Message Vsevolod (Simon) Ilyushchenko 2005-09-29 20:03:16 Intermittent I/O error?