Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16442 (
https://hibernate.atlassian.net/browse/HHH-16442?atlOrigin=eyJpIjoiOTYwMj...
)
Re: trunc() function with offset datetimes on Oracle (
https://hibernate.atlassian.net/browse/HHH-16442?atlOrigin=eyJpIjoiOTYwMj...
)
This looks like a limitation of Oracle’s native TRUNC(date) function …
causing loss of the timezone information.
Yes, that’s right.
I’m not sure but how we might be able to get around this
It should in principle be possible to work around this by converting to UTC before calling
trunc and then converting back to the original timezone after. But it’s something we
should only do when we know we actually have a timezone to worry about.
(
https://hibernate.atlassian.net/browse/HHH-16442#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16442#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100221- sha1:916089c )