@@ -0,0 +1,718 @@
+package org.example.seed.repository;%0A%0Aimport org.example.seed.entity.ChefEntity;%0Aimport org.springframework.data.domain.Page;%0Aimport org.springframework.data.domain.Pageable;%0Aimport org.springframework.data.jpa.repository.JpaRepository;%0Aimport org.springframework.data.jpa.repository.Query;%0Aimport org.springframework.scheduling.annotation.Async;%0Aimport org.springframework.stereotype.Repository;%0A%0Aimport java.util.concurrent.Future;%0A%0A/**%0A * Created by PINA on 25/06/2017.%0A */%0A@Repository%0Apublic interface ChefRepository extends JpaRepository%3CChefEntity, String%3E %7B%0A%0A    @Async%0A    @Query(%22SELECT ce FROM ChefEntity ce JOIN ce.telephones%22)%0A    Future%3CPage%3CChefEntity%3E%3E findAllWithTelephones(final Pageable pageable);%0A%7D%0A

create Chef repository from JPA