Joda time DateTime incorrectly stores in database

前端 未结 7 1636
青春惊慌失措
青春惊慌失措 2020-12-30 08:18

I\'m storing JodaTime DateTime field to timestamptz column by using org.jadira.usertype:usertype.jodatime:1.9. App server has +4 time

7条回答
  •  有刺的猬
    2020-12-30 09:19

    I had the same issue. Specifying app and db zones in config solved the issue.

                true
                America/Los_Angeles
                America/Los_Angeles
    

提交回复
热议问题