File tree Expand file tree Collapse file tree 13 files changed +32
-32
lines changed
main/java/org/mybatis/spring/batch
test/java/org/mybatis/spring Expand file tree Collapse file tree 13 files changed +32
-32
lines changed Original file line number Diff line number Diff line change 2929
3030 <groupId >org.mybatis</groupId >
3131 <artifactId >mybatis-spring</artifactId >
32- <version >3 .0.6 -SNAPSHOT</version >
32+ <version >4 .0.0 -SNAPSHOT</version >
3333
3434 <name >mybatis-spring</name >
3535 <description >An easy-to-use Spring bridge for MyBatis sql mapping framework.</description >
116116 <mybatis .version>3.5.19</mybatis .version>
117117 <spring .version>7.0.0</spring .version>
118118 <spring-boot .version>3.5.7</spring-boot .version>
119- <spring-batch .version>5.2.4 </spring-batch .version>
119+ <spring-batch .version>6.0.0 </spring-batch .version>
120120 <module .name>org.mybatis.spring</module .name>
121121
122122 <junit .version>6.0.1</junit .version>
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2024 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2424import org .mybatis .logging .Logger ;
2525import org .mybatis .logging .LoggerFactory ;
2626import org .mybatis .spring .SqlSessionTemplate ;
27- import org .springframework .batch .item .Chunk ;
28- import org .springframework .batch .item .ItemWriter ;
27+ import org .springframework .batch .infrastructure . item .Chunk ;
28+ import org .springframework .batch .infrastructure . item .ItemWriter ;
2929import org .springframework .beans .factory .InitializingBean ;
3030import org .springframework .core .convert .converter .Converter ;
3131import org .springframework .dao .EmptyResultDataAccessException ;
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2022 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2828import org .apache .ibatis .session .ExecutorType ;
2929import org .apache .ibatis .session .SqlSession ;
3030import org .apache .ibatis .session .SqlSessionFactory ;
31- import org .springframework .batch .item .support .AbstractItemCountingItemStreamItemReader ;
31+ import org .springframework .batch .infrastructure . item .support .AbstractItemCountingItemStreamItemReader ;
3232import org .springframework .beans .factory .InitializingBean ;
3333
3434/**
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2022 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2828import org .apache .ibatis .session .SqlSession ;
2929import org .apache .ibatis .session .SqlSessionFactory ;
3030import org .mybatis .spring .SqlSessionTemplate ;
31- import org .springframework .batch .item .database .AbstractPagingItemReader ;
31+ import org .springframework .batch .infrastructure . item .database .AbstractPagingItemReader ;
3232
3333/**
3434 * {@code org.springframework.batch.item.ItemReader} for reading database records using MyBatis in a paging fashion.
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2024 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3737import org .mockito .MockitoAnnotations ;
3838import org .mybatis .spring .SqlSessionTemplate ;
3939import org .mybatis .spring .batch .domain .Employee ;
40- import org .springframework .batch .item .Chunk ;
40+ import org .springframework .batch .infrastructure . item .Chunk ;
4141import org .springframework .dao .EmptyResultDataAccessException ;
4242import org .springframework .dao .InvalidDataAccessResourceUsageException ;
4343
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2024 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3131import org .mockito .Mock ;
3232import org .mockito .Mockito ;
3333import org .mockito .MockitoAnnotations ;
34- import org .springframework .batch .item .ExecutionContext ;
35- import org .springframework .batch .item .ItemStreamException ;
34+ import org .springframework .batch .infrastructure . item .ExecutionContext ;
35+ import org .springframework .batch .infrastructure . item .ItemStreamException ;
3636
3737/**
3838 * Tests for {@link MyBatisCursorItemReader}.
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2024 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2020import org .apache .ibatis .session .SqlSession ;
2121import org .junit .jupiter .api .Test ;
2222import org .mybatis .spring .batch .domain .Employee ;
23- import org .springframework .batch .item .Chunk ;
23+ import org .springframework .batch .infrastructure . item .Chunk ;
2424import org .springframework .beans .factory .annotation .Autowired ;
2525import org .springframework .beans .factory .annotation .Qualifier ;
2626import org .springframework .test .context .junit .jupiter .SpringJUnitConfig ;
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2024 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3838import org .mockito .Mockito ;
3939import org .mockito .MockitoAnnotations ;
4040import org .mybatis .spring .SqlSessionTemplate ;
41- import org .springframework .batch .item .Chunk ;
41+ import org .springframework .batch .infrastructure . item .Chunk ;
4242
4343/**
4444 * Tests for {@link MyBatisBatchItemWriterBuilder}.
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2024 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3131import org .mockito .Mock ;
3232import org .mockito .Mockito ;
3333import org .mockito .MockitoAnnotations ;
34- import org .springframework .batch .item .ExecutionContext ;
34+ import org .springframework .batch .infrastructure . item .ExecutionContext ;
3535
3636/**
3737 * Tests for {@link MyBatisCursorItemReaderBuilder}.
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2010-2024 the original author or authors.
2+ * Copyright 2010-2025 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3535import org .mockito .Mock ;
3636import org .mockito .Mockito ;
3737import org .mockito .MockitoAnnotations ;
38- import org .springframework .batch .item .ExecutionContext ;
38+ import org .springframework .batch .infrastructure . item .ExecutionContext ;
3939
4040/**
4141 * Tests for {@link MyBatisPagingItemReaderBuilder}.
You can’t perform that action at this time.
0 commit comments