there was a downgrade added but not sure if this is needed:
<!--
Downgrading hibernate version solves a cascade error. We have different behavior with
the same source code. It works in 4.1.2.Final and doesn't work in 4.1.8.Final. More info:
https://forum.hibernate.org/viewtopic.php?f=1&t=1024394
https://hibernate.atlassian.net/browse/HHH-7605
-->
<hibernate.version>4.1.2.Final</hibernate.version>
there was a downgrade added but not sure if this is needed: