Class SpringBatchUtility
java.lang.Object
org.mybatis.dynamic.sql.util.springbatch.SpringBatchUtility
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longConstant for use in a query intended for use with the MyBatisPagingItemReader.static final longConstant for use in a query intended for use with the MyBatisPagingItemReader.static final RenderingStrategy -
Method Summary
-
Field Details
-
MYBATIS_SPRING_BATCH_SKIPROWS
public static final long MYBATIS_SPRING_BATCH_SKIPROWSConstant 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_PAGESIZEConstant 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
-
-
Method Details
-
toParameterValues
-