https://go-coding.tistory.com/85 (1) 썸네일형 리스트형 [Java] CSV 파일 데이터 불러오기 과제 수행 중 데이터를 입력하는 과정에서 다음과 같이 하드코딩으로 데이터를 입력했다. @Component @Order(1) public class TestDataRunner implements ApplicationRunner { @Autowired ProductRepository productRepository; @Override public void run(ApplicationArguments args) throws Exception { Product product1 = createProduct((long) 768848, "[STANLEY] GO CERAMIVAC 진공 텀블러/보틀 3종", 21000, 45); Product product2 = createProduct((long) 748943, "디오.. 이전 1 다음