Add jpa dependencies.
Add correct mapping to the model objects.