Upgraded hibernate
Merge pull request #3410 from mkurz/persistenceProviderFix

Upgraded hibernate