Example shows how to use Hibernate with a Baratine service