Closed janpolacek closed 7 years ago
Otazka znie, ako pisat repository, pre zlozitejsie sluzby? SeasonTournamentRepository
public List findByIdTournamement(Integer id);
alebo
public List findByTournament(Tournament t);
V tabulke je stlpec idTournament v Model je Tournament tournament;
odpoved je findByTournament, zalezi od paramentra v modeli ako sa vola
Otazka znie, ako pisat repository, pre zlozitejsie sluzby? SeasonTournamentRepository
public List findByIdTournamement(Integer id);
alebo
public List findByTournament(Tournament t);
V tabulke je stlpec idTournament v Model je Tournament tournament;