Closed
Description
Michael Minella opened BATCH-2661 and commented
The use case was to use a JdbcCursorItemReader with PostgreSQL (nothing fancy here).
From https://jdbc.postgresql.org/documentation/94/query.html, section "Getting results based on a cursor", the connection must not be in auto commit mode.
But JdbcCursorItemReader does not allow to explicity set connection mode to autoCommit = false.
As discussed in the Spring Boot PR, configuring the JDBC pool to force all connection to autoCommit=false is not an optimal way to workaround the problem.
Affects: 4.0.0.RC1
Reference URL: spring-projects/spring-boot#7866
Referenced from: pull request #446