Re: Timestamp Problem (index out of range) - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Timestamp Problem (index out of range)
Date
Msg-id 1018882883.4600.11.camel@inspiron.cramers
Whole thread Raw
In response to Timestamp Problem (index out of range)  ("Tarabas" <tarabas@tarabas.de>)
List pgsql-jdbc
Manuel,

Please try the dev driver, and let me know if the problem still exists.
If so can you send me a small piece of code which demonstrates the
problem

Dave
On Mon, 2002-04-15 at 07:00, Tarabas wrote:
> Hi!
>
> I am having a big Problem with the getTimestamp() in the Postgres-JDBC. It
> always gets me an error saying "String index out of range: 23" ...
>
> I read that this problem shall be fixed in newer versions of the JDBC but i
> am using the newest released JAR 7.1.x (pgjdbc2.jar) with my JDK 1.4.
>
> Can you give me a hint how to fix this problem since my site quite relies on
> this Timestamp and I don't really want to do fixes like putting getDate and
> getTime into a Calender and converting it back and stuff ...
>
> Any help would be appreciated!
>
> Thanx in advance ... Manuel ...
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>




pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Inserting 'Dates' in database
Next
From: Barry Lind
Date:
Subject: Re: problems with setBytes getBytes