【发布时间】:2014-01-27 10:47:31
【问题描述】:
如果服务器在印度 - 在 IST 中存储时间戳值。 从美国运行服务器时 - 在 EST 中存储时间戳值。我正在使用 oracle 数据库和休眠 4.0。
请建议我如何解决这种差异。
我参考了下面的链接。
How can I get the current date and time in UTC or GMT in Java?
How to store date/time and timestamps in UTC time zone with JPA and Hibernate
【问题讨论】:
标签: oracle hibernate datetime timezone timestamp