Class SpringBatchUtility


  • public class SpringBatchUtility
    extends java.lang.Object
    • Field Detail

      • SPRING_BATCH_READER_RENDERING_STRATEGY

        public static final RenderingStrategy SPRING_BATCH_READER_RENDERING_STRATEGY
    • Method Detail

      • toParameterValues

        public static java.util.Map<java.lang.String,​java.lang.Object> toParameterValues​(SelectStatementProvider selectStatement)
      • selectForPaging

        public static QueryExpressionDSL.FromGatherer<SpringBatchPagingReaderSelectModel> selectForPaging​(BasicColumn... selectList)
        Select builder that renders in a manner appropriate for the MyBatisPagingItemReader. Important rendered SQL will contain LIMIT and OFFSET clauses in the SELECT statement. If your database (Oracle) does not support LIMIT and OFFSET, the queries will fail.
        Parameters:
        selectList - a column list for the SELECT statement
        Returns:
        FromGatherer used to continue a SELECT statement