If server is in India - storing timestamps value in IST. When run server from US - storing timestamps value in EST. I am using oracle database and hibernate 4.0.
Please suggest me how to get around this discrepancies.
I referred below links.
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