Click here to Skip to main content
15,908,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm having a spring boot application connected with Mongo DB now I want to enable spring batch how can I manage this withi spring data Mongo

What I saw with Spring data JPA

spring.jpa.properties.hibernate.generate_statistics=true
spring.jpa.properties.hibernate.jdbc.batch_size=1000
spring.jpa.properties.hibernate.order_inserts=true


Now how can I configure this with spring data mongo

What I have tried:

I tried writing the same properties on application.properties file but I gave a lot of errors
Posted
Comments
Andre Oosthuizen 13-Feb-23 13:57pm    
Just google your exact question. This was returned - Implementing Bulk Writes using Spring Data for MongoDB[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900