Sanne Grinovero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-13879 (
https://hibernate.atlassian.net/browse/HHH-13879?atlOrigin=eyJpIjoiODY3Mz...
)
Re: Slow query log should use System#nanoTime not System#currentTimeMillis (
https://hibernate.atlassian.net/browse/HHH-13879?atlOrigin=eyJpIjoiODY3Mz...
)
There’s no specific JDK bug as it’s not a bug, it’s just how it works and it’s documented.
Feel free to search, there’s many discussions on the topic.
I don’t know why Bitronix did what they did - that certainly is giving them a monotonic
clock, but ask yourself why didn’t they use nanoTime then? (hint: because it won’t work
either).
Anyway, I’m not saying that you shouldn’t change it to nanoTime.. just pointing out that
neither is a gret fit ./
(
https://hibernate.atlassian.net/browse/HHH-13879#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13879#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#100121- sha1:a269fed )