Re: timestamp with time zone wire format
От | Vladimir Sitnikov |
---|---|
Тема | Re: timestamp with time zone wire format |
Дата | |
Msg-id | CAB=Je-FY5i3wECa9afZgJDczfggCT7p-o2t5mQyPrp0w81XK2Q@mail.gmail.com обсуждение исходный текст |
Ответ на | timestamp with time zone wire format (Philippe Marschall <pm@netcetera.ch>) |
Ответы |
Re: timestamp with time zone wire format
|
Список | pgsql-jdbc |
> I can write parse code Parse code for timestampTZ is probably there. The missing part is conversion from-to JSR-310. > 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. It will enable pre-processor, so it would be possible to seamlessly integrate java.time right into `statement.getObject` without failing the build for older java versions. Here's an example: https://github.com/vlsi/pgjdbc/blob/2236505772e8d36640929b8a75fa3857f0bfbb94/core/src/main/java/org/postgresql/jdbc/PgResultSet.java#L3471-L3491 Vladimir
В списке pgsql-jdbc по дате отправления: