From 9dc64244b5eb91c5971399a7168d5308475fe657 Mon Sep 17 00:00:00 2001 From: Kazuki Shimizu Date: Tue, 5 May 2015 21:28:49 +0900 Subject: [PATCH] Change to the BeanPropertyRowMapper from the ParameterizedBeanPropertyRowMapper Issues: SPR-12980 --- src/asciidoc/data-access.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asciidoc/data-access.adoc b/src/asciidoc/data-access.adoc index 866437226d..f0dc47b2b5 100644 --- a/src/asciidoc/data-access.adoc +++ b/src/asciidoc/data-access.adoc @@ -3916,7 +3916,7 @@ rows from the t_actor table. Here is the MySQL source for this procedure: ---- To call this procedure you declare the `RowMapper`. Because the class you want to map to -follows the JavaBean rules, you can use a `ParameterizedBeanPropertyRowMapper` that is +follows the JavaBean rules, you can use a `BeanPropertyRowMapper` that is created by passing in the required class to map to in the `newInstance` method. [source,java,indent=0] @@ -3932,7 +3932,7 @@ created by passing in the required class to map to in the `newInstance` method. this.procReadAllActors = new SimpleJdbcCall(jdbcTemplate) .withProcedureName("read_all_actors") .returningResultSet("actors", - ParameterizedBeanPropertyRowMapper.newInstance(Actor.class)); + BeanPropertyRowMapper.newInstance(Actor.class)); } public List getActorsList() {