Hibernate configuration

Done hibernate configuration