XX-11205: Upgrade hibernate from 3.2.7 to 3.6.10

-fix tests (merge requires muttable list in hibernate 3.6.10)