pg 7.3 , JDBC and timestamp problem.

Started by pginfoover 23 years ago2 messagesgeneral
Jump to latest
#1pginfo
pginfo@t1.unisoftbg.com

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.

#2pginfo
pginfo@t1.unisoftbg.com
In reply to: pginfo (#1)
Re: pg 7.3 , JDBC and timestamp problem.

Hi,
I changed the jdbc to the new jdbc3 and all is working well.

pginfo wrote:

Show quoted text

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)