Deanery project. Hibernate: first steps