Skip to content

Files

Latest commit

 

History

History

HibernateSpringBootBatchInsertsCompletableFutureReturnList

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Batch Inserts In Spring Boot Style Via CompletableFuture And Return List<S> (1)

You may also like: Batch Inserts In Spring Boot Style Via CompletableFuture And Return List<S> (2)

Description: This application is a sample of using CompletableFuture for batching inserts. This CompletableFuture uses an Executor that has the number of threads equal with the number of your computer cores. Usage is in Spring style. It returns List<S> representing the list of persisted entities.


If you need a deep dive into the performance recipes exposed in this repository then I am sure that you will love my book "Spring Boot Persistence Best Practices"If you need a hand of tips and illustrations of 100+ Java persistence performance issues then "Java Persistence Performance Illustrated Guide" is for you.