The corrresponding class in 5.0 org.hibernate.stat,internal.ConcurrentStatisticsImpl does not implement a method to return the minimum execution time (e.g. no getQueryExecutionMaxTime). Thus, version 5 is not impacted by this issue.