jpa with https request multithreading spring

后端 未结 3 1651
长发绾君心
长发绾君心 2020-12-12 05:58

I\'m working with spring JPA and HTTP post request, fetching the data row by row then post the data into HTTP request to API and its worked fine wi

3条回答
  •  星月不相逢
    2020-12-12 06:32

    Try with Batch Insert/Update with Hibernate/JPA. Here is a nice tutorial

    spring.jpa.properties.hibernate.jdbc.batch_size=500

提交回复
热议问题