Added jpa implementation. Not yetworking.