On Wed 2016-08-31 17:07, Vlad Mihalcea wrote:
> Hi,
> 
> While reviewing the Pull Request for this issue:
> https://github.com/hibernate/hibernate-orm/pull/1536
> 
> I realized that we can improve the default TimestampType as follows:
> 
> 1. We could make it parameterizable so that it can also take a custom
> timezone (UTC) during mapping.
> 2. We could also define a default timezone so that we don't rely on the JVM
> one. This might be desirable when the UI requires to display the time in a
> certain timezone, while we want to save all timestamps in UTC.

Or a component injecting the desired timezone
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to