I just played with the versions in the course of preparing the Spring Data examples to Hibernate 5. The issue here was introduced in 5.0.8 so I wonder whether 5.0 should be fixed as well?