Re: Failure in timestamptz of JDBC of 7.2b4

Поиск
Список
Период
Сортировка
От Ryouichi Matsuda
Тема Re: Failure in timestamptz of JDBC of 7.2b4
Дата
Msg-id 20020115192158.771C.R-MATUDA@sra.co.jp
обсуждение исходный текст
Ответ на Re: Failure in timestamptz of JDBC of 7.2b4  (Ryouichi Matsuda <r-matuda@sra.co.jp>)
Список pgsql-jdbc
I wrote:
> In addition, I found an error of time type.
>
>     Statement st = db.createStatement();
>     ResultSet rs = st.executeQuery("SELECT 'now'::time");
>     rs.next();
>     Time t = rs.getTime(1);
>     System.out.println(t);
>
> This becomes string index out of bounds exception.

An attached patch corrects this error.

But time is always local time zone.
In this patch, time zone does not look.

Вложения

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

Предыдущее
От: "Vianen, Jeroen van"
Дата:
Сообщение: Re: Problem with getImportedKeys / getExportedKeys
Следующее
От: "Alaric B. Snell"
Дата:
Сообщение: Explicit typing of numeric types