I\'m storing JodaTime DateTime field to timestamptz column by using org.jadira.usertype:usertype.jodatime:1.9. App server has +4 time
DateTime
timestamptz
org.jadira.usertype:usertype.jodatime:1.9
I had the same issue. Specifying app and db zones in config solved the issue.
<prop key="jadira.usertype.autoRegisterUserTypes">true</prop> <prop key="jadira.usertype.databaseZone">America/Los_Angeles</prop> <prop key="jadira.usertype.javaZone">America/Los_Angeles</prop>