Using Spring Batch JdbcCursorItemReader with NamedParameters

前端 未结 4 701
滥情空心
滥情空心 2021-01-05 13:34

The Spring Batch JdbcCursorItemReader can accept a preparedStatementSetter:



        
4条回答
  •  囚心锁ツ
    2021-01-05 13:52

    Currently, there is not a way to do this. The JdbcCursorItemReader uses raw JDBC (PreparedStatement) instead of the Spring JdbcTemplate under the hood (since there is no way to get the underlying ResultSet when using JdbcTemplate). If you'd like to contribute this as a new feature, or request it as a new feature, feel free to do so at jira.spring.io

提交回复
热议问题