showcase of integration with jpa and hibernate