#saveall

[ follow ]
#jpa
fromMedium
4 weeks ago
Java

I Ignored These JPA Methods for Years-Now Spring Boot Application 10 Faster

Using JpaRepository.existsById and saveAll with proper batching reduces queries, memory use, and can improve application performance up to tenfold.
fromMedium
4 weeks ago
Java

I Ignored These JPA Methods for Years-Now Spring Boot Application 10 Faster

Use JPA's existsById and saveAll with proper batching to reduce queries, memory usage, and significantly improve application performance.
[ Load more ]