Spring Data JPA: Batch Insert Performance Tuning

Two configuration settings improve a slow Hibernate batch insert in Spring Boot Data JPA. Without them, saveAll() sends one INSERT per row – even across 10,000 rows. With them, median insertion time drops from 437 ms to 77 ms on…



