Revert "Modified hibernate settings"

This reverts commit 8fcc190c7941d12bb302c21289b6815103a3160c.