added hibernate and mysql-connector dependencies to pom.xml