jOOQ returns offset date time as Z (UTC) even though it's not

后端 未结 2 1880
盖世英雄少女心
盖世英雄少女心 2021-01-23 02:33

I have a simple Postgres test table of id, timestamp with timezone. The test and output below should be self explanatory, but to summarize, I insert a row that has a timestamp

2条回答
  •  一生所求
    2021-01-23 03:29

    There is an incompatibility between the impossibl pgjdbc driver version 0.7.1 and jOOQ causing offsets not to be applied when selecting timestamp with timezone back out of a postgres database.

    In the unlikely event that someone else is also running this combination of jars, recommend updating to pgjdbc 0.8.2 if the features in the impossibl driver are necessary or abandoning if not.

提交回复
热议问题