X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6DBAAD93A9 for ; Thu, 29 Sep 2005 17:45:24 -0300 (ADT) 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 52092-09 for ; Thu, 29 Sep 2005 20:45:19 +0000 (GMT) Received: from BAYC1-PASMTP03.CEZ.ICE (bayc1-pasmtp03.bayc1.hotmail.com [65.54.191.163]) by svr1.postgresql.org (Postfix) with ESMTP id C4425D6F5D for ; Thu, 29 Sep 2005 17:45:19 -0300 (ADT) Message-ID: X-Originating-IP: [64.230.28.44] X-Originating-Email: [pelletier_32@sympatico.ca] Received: from JP ([64.230.28.44]) by BAYC1-PASMTP03.CEZ.ICE over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Thu, 29 Sep 2005 13:45:16 -0700 Message-ID: <015b01c5c536$b3e607f0$6401a8c0@JP> From: "Jean-Pierre Pelletier" To: Subject: "Conversion of interval failed" on PGInterval with 8.1dev-401.jdbc3.jar Date: Thu, 29 Sep 2005 16:45:17 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0158_01C5C515.2BFDB700" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-OriginalArrivalTime: 29 Sep 2005 20:45:16.0680 (UTC) FILETIME=[B2B15880:01C5C536] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.542 required=5 tests=[AWL=-0.025, FORGED_RCVD_HELO=0.05, FROM_ENDS_IN_NUMS=0.516, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0] X-Spam-Level: X-Archive-Number: 200509/135 X-Sequence-Number: 13920 This is a multi-part message in MIME format. ------=_NextPart_000_0158_01C5C515.2BFDB700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =3D (PGInterval) resultset.getObject(1); I am running PostgreSQL 8.1 beta2 on Windows 2000. Thanks Jean-Pierre Pelletier e-djuster ------=_NextPart_000_0158_01C5C515.2BFDB700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I've got PSQLException "Conversion = of interval=20 failed"
 throwned when trying to = read an interval larger=20 than
100 hours (101:12:00) into a PGInterval = object.
It was running fine with = the build 312=20 jdbc3 driver.
 
Here is the line of code which cause = the=20 error:
 
PGInterval interval =3D (PGInterval)=20 resultset.getObject(1);
 
I am running PostgreSQL 8.1 beta2 on = Windows=20 2000.
 
Thanks
Jean-Pierre Pelletier
e-djuster
 
------=_NextPart_000_0158_01C5C515.2BFDB700--