Hibernate framework and PostgreSQL database engine tutorial