Set Hibernate Batching Size

Setting the Hibernate batching size can be accomplished via hibernate.jdbc.batch_size. In Spring, we need to add in application properties per the following setting (the recommended batch size is between 5 and 30):

spring.jpa.properties.hibernate.jdbc.batch_size=15
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: