Re: timestamp with time zone wire format
От | Philippe Marschall |
---|---|
Тема | Re: timestamp with time zone wire format |
Дата | |
Msg-id | 566FC8DF.3010705@netcetera.ch обсуждение исходный текст |
Ответ на | Re: timestamp with time zone wire format (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>) |
Ответы |
Re: timestamp with time zone wire format
|
Список | pgsql-jdbc |
On 14.12.15 14:43, Vladimir Sitnikov wrote: >> I can write parse code > > Parse code for timestampTZ is probably there. The missing part is > conversion from-to JSR-310. The only thing I could find is TimestampUtils#toTimestampBin [1] there the time zone either comes from the caller or the system default, never the database. Form reading the docs I get the impression the time zone isn't stored so there's nothing to parse. >> for backwards compatibility with older Java/JDBC versions a dedicated class would probably be better > > Things will get much easier after > https://github.com/pgjdbc/pgjdbc/pull/435 is merged in. Is there an ETA for this? [1] https://github.com/pgjdbc/pgjdbc/blob/master/org/postgresql/jdbc2/TimestampUtils.java#L623 Cheers Philippe
В списке pgsql-jdbc по дате отправления: