Add database communication by Hibernate.