Added hibernate dependency to pom.