changed hibernate version used to 4.2.13 due to bad implementation of 4.3.5 one. Updated the templates and files as well, in order to incorporate cascade deleting capabilities.