Adding hibernate