You can verify that with hibernate 5.3 everything works fine by changing this line in the pom.xml file:
<version>2.2.0.M4</version>
to this one:
<version>2.1.6.RELEASE</version>