BATCH-1083: renamed property parameterizedRowMapper to rowMapper now using type RowMapper instead of ParameterizedRowMapper

This commit is contained in:
trisberg
2009-02-16 16:34:25 +00:00
parent ceccb5762e
commit 0a29a8e0a3
5 changed files with 12 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ public class JdbcPagingItemReaderClassicParameterTests extends AbstractPagingIte
queryProvider.setSortKey("ID");
reader.setParameterValues(Collections.<String, Object>singletonMap("limit", 3));
reader.setQueryProvider(queryProvider);
reader.setParameterizedRowMapper(
reader.setRowMapper(
new ParameterizedRowMapper<Foo>() {
public Foo mapRow(ResultSet rs, int i) throws SQLException {
Foo foo = new Foo();

View File

@@ -31,7 +31,7 @@ public class JdbcPagingItemReaderCommonTests extends AbstractItemStreamItemReade
queryProvider.setFromClause("from T_FOOS");
queryProvider.setSortKey("ID");
reader.setQueryProvider(queryProvider);
reader.setParameterizedRowMapper(
reader.setRowMapper(
new ParameterizedRowMapper<Foo>() {
public Foo mapRow(ResultSet rs, int i) throws SQLException {
Foo foo = new Foo();

View File

@@ -29,7 +29,7 @@ public class JdbcPagingItemReaderIntegrationTests extends AbstractDataSourceItem
queryProvider.setFromClause("from T_FOOS");
queryProvider.setSortKey("ID");
inputSource.setQueryProvider(queryProvider);
inputSource.setParameterizedRowMapper(
inputSource.setRowMapper(
new ParameterizedRowMapper<Foo>() {
public Foo mapRow(ResultSet rs, int i) throws SQLException {
Foo foo = new Foo();

View File

@@ -27,7 +27,7 @@ public class JdbcPagingItemReaderNamedParameterTests extends AbstractPagingItemR
queryProvider.setSortKey("ID");
reader.setParameterValues(Collections.<String, Object>singletonMap("limit", 3));
reader.setQueryProvider(queryProvider);
reader.setParameterizedRowMapper(
reader.setRowMapper(
new ParameterizedRowMapper<Foo>() {
public Foo mapRow(ResultSet rs, int i) throws SQLException {
Foo foo = new Foo();