Architect
Mar 17, 2023 · Backend Development
Million‑Scale Data Export with JPA and MyBatis in Spring Boot
This article explains how to export tens of millions of rows from MySQL using Spring Boot by streaming data with JPA or MyBatis, avoiding OutOfMemoryError, switching to CSV format, and provides complete code examples, performance comparison, and tips for generating test data.
CSVDataExportMyBatis
0 likes · 12 min read
