Importing CSV Data into PostgreSQL using Spring Batch

Опубликовано: 20 Май 2024
на канале: The Tech Mojo
2,394
53

This tutorial will build a Spring boot application that uses Spring Batch to import CSV content into Postgres SQL DB. We will use chunk-based processing for reading content from large CSV files, process it, and then store the data in Postgres SQL. For managing the database migrations we will use Flyway.

00:00 Introduction to Spring Batch
04:49 Key Components of Spring Batch Application
09:16 Importing CSV Data to PostgreSQL Database using Spring Batch
09:48 Creating Spring Boot Project
12:09 Running PostgresSQL Docker Instance
13:19 Configuring DB Properties in Spring Boot
16:33 Define Domain Model for Customer
18:44 Creating JPA Repository
19:21 Setting up Flyway Migration for Spring Boot
23:20 Configuring Spring Batch
24:21 Configuring CSV Item Reader Bean
32:52 Configuring CSV Item Writer Bean
34:31 Configuring Step and Job
39:30 Creating a Trigger to Start Batch Job
44:40 Creating a Listener for Spring Batch Job
47:17 Passing Job Parameters
53:24 Validating Job Parameter
Thank you for watching!

Configuring Flyway in Spring Boot:    • Using Flyway for Managing Database Migrati...  
Download the complete project source code: https://github.com/StackTipsLab/sprin...

❤️ Get in touch:
Website: https://stacktips.com
Twitter:   / asknilan  
Github: https://github.com/nilandev


На этой странице сайта вы можете посмотреть видео онлайн Importing CSV Data into PostgreSQL using Spring Batch длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь The Tech Mojo 20 Май 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,394 раз и оно понравилось 53 зрителям. Приятного просмотра!