dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Intermediate
Jun 11, 2019

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
Octavia Anghel
 
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date