I\'m storing JodaTime DateTime
field to timestamptz
column by using org.jadira.usertype:usertype.jodatime:1.9
. App server has +4 time
Fedor,
Am I right to assume you are using Oracle TIMESTAMP WITH TIME ZONE column? Usertype doesn't support this type yet (i.e. with TIME ZONE) due to the handling with JDBC differing between databases, although the project will be happy to accept patches.
There's some good discussion wrt Oracle here: http://puretech.paawak.com/2010/11/02/how-to-handle-oracle-timestamp-with-timezone-from-java/