I have this query:
@Query("SELECT p FROM Route p JOIN FETCH p.places pl WHERE pl.city = (:city)")
public List<Route> findByPlaces_City(@Param("city")City city);
It fetch me only places where places.coty = city
And what I need is: if any place from route have city like argument get that route with fetched all places from that route;