2014-02-18 28 views
0

我正在使用jadira的usertype來持久化joda datetimes和hibernate 4.我還需要保留時區以及因此使用org.jadira.usertype .dateandtime.joda.PersistentDateTimeWithZone。當我保存日期時間時,PersistentDateTimeWithZone會在錯誤控制檯上打印時區的名稱,例如「Europe/Berlin {+01:00}」。由於我必須堅持數千個日期時間,這非常耗時。org.jadira.usertype.dateandtime.joda.PersistentDateTimeWithZone在錯誤控制檯上打印時區

我必須以不同的方式提供時區嗎?

我正在使用jadira usertype 3.0.0.GA.提前 基督教

回答

0

您可以升級到Jadira用戶類型3.1.0.GA

感謝(剛剛發佈)。

聲明:我維護Jadira Usertype。