pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jean-Pierre Pelletier <pelletier_32@sympatico.ca>
To: pgsql-jdbc@postgresql.org
Subject: "Conversion of interval failed" on PGInterval with 8.1dev-401.jdbc3.jar
Date: Thu, 29 Sep 2005 16:45:17 -0400
Message-ID: <BAYC1-PASMTP03DAF8822DCF0C2A57C100958C0@CEZ.ICE> (raw)

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

view thread (3+ messages)  latest in thread

Message-ID: <BAYC1-PASMTP03DAF8822DCF0C2A57C100958C0@CEZ.ICE>
Permalink:  ../BAYC1-PASMTP03DAF8822DCF0C2A57C100958C0@CEZ.ICE/
Also on:    postgresql.org/message-id/BAYC1-PASMTP03DAF8822DCF0C2A57C100958C0@CEZ.ICE

 · 

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: pelletier_32@sympatico.ca
  Subject: Re: "Conversion of interval failed" on PGInterval with 8.1dev-401.jdbc3.jar
  In-Reply-To: <BAYC1-PASMTP03DAF8822DCF0C2A57C100958C0@CEZ.ICE>
  References: <BAYC1-PASMTP03DAF8822DCF0C2A57C100958C0@CEZ.ICE>

* 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