jpa with https request multithreading spring

后端 未结 3 1643
长发绾君心
长发绾君心 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条回答
  •  萌比男神i
    2020-12-12 06:44

    Using @Async annotations to implement mutithread in spring. It can help you. https://spring.io/guides/gs/async-method/ https://docs.spring.io/spring-data/rest/docs/2.0.0.M1/reference/html/paging-chapter.html

提交回复
热议问题