티스토리 뷰

기타

[JPA] findAll() 사용하기

hyeonii_12 2019. 12. 6. 17:39
Iterable<Test> testList = testRepository.findAll();
for (Test test : testList) {
    System.out.println(test.toString());
}

'기타' 카테고리의 다른 글

A problem occurred configuring project ':app'  (0) 2020.12.13
댓글