Хранилища:
public interface HotelDao extends JpaRepository<Hotel, Integer>,
JpaSpecificationExecutor<Hotel> {
@EntityGraph(HOTEL_BASIC)
@Override
Page<Hotel> findAll(Specification<Hotel> spec, Pageable pageable);
}
findAll(Specification<>, Pageable)
наследуется от JpaSpecificationExecutor
.Что мне делать, если я хочу, чтобы другой findAll(Specification<>, Pageable)
использовал другой @EntityGraph
?