Skip to content

Commit b61440d

Browse files
committed
Removed Depricated ParameterizedRowMapper for Spring 4.2 support
BATCH-2414
1 parent 0350324 commit b61440d

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

spring-batch-core-tests/src/test/java/org/springframework/batch/core/test/step/FaultTolerantStepFactoryBeanIntegrationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
import org.springframework.beans.factory.annotation.Autowired;
4949
import org.springframework.jdbc.core.JdbcTemplate;
5050
import org.springframework.jdbc.core.RowMapper;
51-
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
5251
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
5352
import org.springframework.test.context.ContextConfiguration;
5453
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

spring-batch-core-tests/src/test/java/org/springframework/batch/core/test/step/FaultTolerantStepFactoryBeanRollbackIntegrationTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
import org.springframework.beans.factory.annotation.Autowired;
5252
import org.springframework.jdbc.core.JdbcTemplate;
5353
import org.springframework.jdbc.core.RowMapper;
54-
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
5554
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
5655
import org.springframework.test.context.ContextConfiguration;
5756
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

spring-batch-core/src/main/java/org/springframework/batch/core/repository/dao/JdbcJobInstanceDao.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
import org.springframework.dao.EmptyResultDataAccessException;
3434
import org.springframework.jdbc.core.ResultSetExtractor;
3535
import org.springframework.jdbc.core.RowMapper;
36-
import org.springframework.jdbc.core.simple.ParameterizedRowMapper;
3736
import org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer;
3837
import org.springframework.util.Assert;
3938
import org.springframework.util.StringUtils;
@@ -188,7 +187,7 @@ public JobInstance getJobInstance(Long instanceId) {
188187
@Override
189188
public List<String> getJobNames() {
190189
return getJdbcTemplate().query(getQuery(FIND_JOB_NAMES),
191-
new ParameterizedRowMapper<String>() {
190+
new RowMapper<String>() {
192191
@Override
193192
public String mapRow(ResultSet rs, int rowNum)
194193
throws SQLException {

0 commit comments

Comments
 (0)