diff --git a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImplJdbc.java b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImplJdbc.java index 381f1f31..62c12fe3 100644 --- a/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImplJdbc.java +++ b/jpa/example/src/main/java/example/springdata/jpa/custom/UserRepositoryImplJdbc.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2014 the original author or authors. + * Copyright 2013-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Profile; -import org.springframework.jdbc.core.simple.ParameterizedRowMapper; +import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.core.support.JdbcDaoSupport; import org.springframework.stereotype.Component; @@ -67,7 +67,7 @@ class UserRepositoryImplJdbc extends JdbcDaoSupport implements UserRepositoryCus return getJdbcTemplate().query(COMPLICATED_SQL, new UserRowMapper()); } - private static class UserRowMapper implements ParameterizedRowMapper { + private static class UserRowMapper implements RowMapper { /* * (non-Javadoc)