Hibernate org.jadira.usertype.dateandtime.joda.PersistentDateTimeWithZone在错误控制台上打印时区

Hibernate org.jadira.usertype.dateandtime.joda.PersistentDateTimeWithZone在错误控制台上打印时区,hibernate,jodatime,Hibernate,Jodatime,我使用jadira的用户类型在Hibernate4中持久化joda日期时间。我还需要持久化时区,因此使用org.jadira.usertype.dateandtime.joda.PersistentDateTimeWithZone。保存日期时间时,PersistentDateTimeWithZone会在错误控制台上打印时区的名称,例如“Europe/Berlin{+01:00}”。由于我必须坚持数千次datetime,这相当耗时 我必须以不同的方式提供时区吗 我使用的是jadira用户类型3.0

我使用jadira的用户类型在Hibernate4中持久化joda日期时间。我还需要持久化时区,因此使用org.jadira.usertype.dateandtime.joda.PersistentDateTimeWithZone。保存日期时间时,PersistentDateTimeWithZone会在错误控制台上打印时区的名称,例如“Europe/Berlin{+01:00}”。由于我必须坚持数千次datetime,这相当耗时

我必须以不同的方式提供时区吗

我使用的是jadira用户类型3.0.0.GA

提前谢谢
Christian

您可以升级到Jadira用户类型3.1.0.GA(刚刚发布)

免责声明:我维护Jadira用户类型