Class SpringBatchUtility

java.lang.Object
org.mybatis.dynamic.sql.util.springbatch.SpringBatchUtility

public class SpringBatchUtility extends Object
  • Field Details

    • MYBATIS_SPRING_BATCH_SKIPROWS

      public static final long MYBATIS_SPRING_BATCH_SKIPROWS
      Constant for use in a query intended for use with the MyBatisPagingItemReader. This value will not be used in the query at runtime because MyBatis Spring integration will supply a value for _skiprows.

      This value can be used as a parameter for the "offset" method in a query to make the intention clear that the actual runtime value will be supplied by MyBatis Spring integration.

      See https://mybatis.org/spring/batch.html for details.

      See Also:
    • MYBATIS_SPRING_BATCH_PAGESIZE

      public static final long MYBATIS_SPRING_BATCH_PAGESIZE
      Constant for use in a query intended for use with the MyBatisPagingItemReader. This value will not be used in the query at runtime because MyBatis Spring integration will supply a value for _pagesize.

      This value can be used as a parameter for the "limit" or "fetchFirst" method in a query to make the intention clear that the actual runtime value will be supplied by MyBatis Spring integration.

      See https://mybatis.org/spring/batch.html for details.

      See Also:
    • SPRING_BATCH_PAGING_ITEM_READER_RENDERING_STRATEGY

      public static final RenderingStrategy SPRING_BATCH_PAGING_ITEM_READER_RENDERING_STRATEGY
  • Method Details