I am new to Spring Batch and tried using Spring Data Jpa. Seems that persisting the object using the CrudReposity opens the Db Connection for every record hurting the performance of the project.
Planning to move to spring jdbc with native query to improve the performance.Any suggestions?