While upgrading to Hibernate 6.2.0.Final, the smoke test has been changed to avoid what seems to be a regression in Hibernate 6.2. I've raised https://hibernate.atlassian.net/browse/HHH-16445 and the smoke test should be updated according to the resolution of that issue.
Comment From: dreis2211
Meh, maybe this is a regression caused by https://hibernate.atlassian.net/browse/HHH-15711
Comment From: mhalbritter
FTR, this is the commit which changed the avg: f264e3c65ee36a6d0a8ef482599e009ee593d8f2
Comment From: wilkinsona
I doesn't look like the regression's going to be fixed in Hibernate. There's a suggestion in the issue that we can use: casting to an integer.