JDBC getTimestamp() Problem (index out of range)

Поиск
Список
Период
Сортировка
От Tarabas
Тема JDBC getTimestamp() Problem (index out of range)
Дата
Msg-id IEEEIIEOMKMOKHPPJGJIEEIDDOAA.tarabas@tarabas.de
обсуждение исходный текст
Список pgsql-jdbc
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 like that which
would be really dirty ;o) ...

Any help would be appreciated!

Thanx in advance ... Manuel ...


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Rajesh Krishnamoorthy
Дата:
Сообщение: unsubscribe
Следующее
От: "Barry Lind"
Дата:
Сообщение: Re: raw data broken in 7.2 driver?