Verified this issue on several releases of Hibernate 5. I attached an updated maven project working with Hibernate 5