JdbcCursorItemReader (Spring Batch 4.3.10 API) 您所在的位置:网站首页 JdbcCursorItemReaderBuilder JdbcCursorItemReader (Spring Batch 4.3.10 API)

JdbcCursorItemReader (Spring Batch 4.3.10 API)

2024-06-06 18:54| 来源: 网络整理| 查看: 265

Simple item reader implementation that opens a JDBC cursor and continually retrieves the next row in the ResultSet.

The statement used to open the cursor is created with the 'READ_ONLY' option since a non read-only cursor may unnecessarily lock tables or rows. It is also opened with 'TYPE_FORWARD_ONLY' option. By default the cursor will be opened using a separate connection which means that it will not participate in any transactions created as part of the step processing.

Each call to AbstractItemCountingItemStreamItemReader.read() will call the provided RowMapper, passing in the ResultSet.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有