To setup Hibernate