У нас вы можете посмотреть бесплатно Tutorial: Spring Boot + Spring Data JPA + Java (Part IV, load data from CSV file to database) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this part of my Spring Boot + JPA series, I'll show how you can load some data from CSV files, and seed it into the database, to get more realistic test data for this little RESTful service. Timecodes: 0:00 - Introduction 0:14 - Finnish names from population information system as test data (GDPR free) 1:45 - Introduce the csv files in Spring Boot project 2:30 - Add some more libraries (Apache Commons CSV, OpenCSV) 3:50 - Even quicker start with OpenCSV 4:12 - Properly load file(s) in Spring Boot classpath 9:00 - Handle CSV file with a stream 12:20 - Save populated items to Spring Data Repository 14:20 - Testing the solution - did I mess up? 17:05 - Ideas for more 17:50 - Conclusion and comments The Git repository that contains the code I write here is at https://github.com/crystoll/testdatam... - you can clone it and study/play with it. Note that the head of the repository might be farther than the video you are watching, so you can always checkout individual commits to get to the level you want to study. As always, if you like the content here, let me know: Click those buttons, leave some feedback, share the link to this video onwards. https://commons.apache.org/proper/com... http://opencsv.sourceforge.net/