Thread: pg 7.3 , JDBC and timestamp problem.

pg 7.3 , JDBC and timestamp problem.

From
pginfo
Date:
Hi,

I just began testing one of my applications with the new pg 7.3 ( it is
working well on 7.2.3).

The app. is java based and use the jdbc driver from 7.2.3 ( from
binary).

In general all is working.
To the moment I have onluy one problem:
If I read from timestamp filed I got java exception:
"java.lang.StringIndexOutOfBoundsException: String index out of range:
26".

Is it bug in JDBC or in pg 7.3 ?

If I execute the query in pgAdmin I cann see the result and all is
correct.

regards.


Re: [GENERAL] pg 7.3 , JDBC and timestamp problem.

From
pginfo
Date:
Hi,
I changed the jdbc to the new jdbc3 and all is working well.

pginfo wrote:

> Hi,
>
> I just began testing one of my applications with the new pg 7.3 ( it is
> working well on 7.2.3).
>
> The app. is java based and use the jdbc driver from 7.2.3 ( from
> binary).
>
> In general all is working.
> To the moment I have onluy one problem:
> If I read from timestamp filed I got java exception:
> "java.lang.StringIndexOutOfBoundsException: String index out of range:
> 26".
>
> Is it bug in JDBC or in pg 7.3 ?
>
> If I execute the query in pgAdmin I cann see the result and all is
> correct.
>
> regards.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)