Hibernate base configuration made. Fixed