Код: Выделить всё
@Repository
public interface DBReportRepository extends JpaRepository {
List findAll();
List findByClientId(Long id);
}
Подробнее здесь: https://stackoverflow.com/questions/418 ... ad-of-list
Код: Выделить всё
@Repository
public interface DBReportRepository extends JpaRepository {
List findAll();
List findByClientId(Long id);
}