diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedBeanPropertyRowMapper.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedBeanPropertyRowMapper.java
deleted file mode 100644
index 1019c929afc..00000000000
--- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedBeanPropertyRowMapper.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright 2002-2012 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.springframework.jdbc.core.simple;
-
-import org.springframework.jdbc.core.BeanPropertyRowMapper;
-
-/**
- * {@link ParameterizedRowMapper} implementation that converts a row into a new instance
- * of the specified mapped target class. The mapped target class must be a top-level class
- * and it must have a default or no-arg constructor.
- *
- *
Uses Java 5 covariant return types to override the return type of the {@link #mapRow}
- * method to be the type parameter {@code T}.
- *
- *
Column values are mapped based on matching the column name as obtained from result set
- * metadata to public setters for the corresponding properties. The names are matched either
- * directly or by transforming a name separating the parts with underscores to the same name
- * using "camel" case.
- *
- *
Mapping is provided for fields in the target class for many common types, e.g.:
- * String, boolean, Boolean, byte, Byte, short, Short, int, Integer, long, Long,
- * float, Float, double, Double, BigDecimal, {@code java.util.Date}, etc.
- *
- *
The mapper can be configured to use the primitives default value when mapping null values
- * by setting the '{@link #setPrimitivesDefaultedForNullValue primitivesDefaultedForNullValue}'
- * flag to 'true'.
- *
- *
To facilitate mapping between columns and fields that don't have matching names,
- * try using column aliases in the SQL statement like "select fname as first_name from customer".
- *
- *
Please note that this class is designed to provide convenience rather than high performance.
- * For best performance, consider using a custom {@link org.springframework.jdbc.core.RowMapper}
- * implementation.
- *
- * @author Thomas Risberg
- * @author Juergen Hoeller
- * @since 2.5
- * @see ParameterizedRowMapper
- * @deprecated along with {@link SimpleJdbcTemplate}, in favor of the regular
- * {@link org.springframework.jdbc.core.BeanPropertyRowMapper}
- */
-@Deprecated
-public class ParameterizedBeanPropertyRowMapper extends BeanPropertyRowMapper
- implements ParameterizedRowMapper {
-
- /**
- * Static factory method to create a new ParameterizedBeanPropertyRowMapper
- * (with the mapped class specified only once).
- * @param mappedClass the class that each row should be mapped to
- */
- public static ParameterizedBeanPropertyRowMapper newInstance(Class mappedClass) {
- ParameterizedBeanPropertyRowMapper newInstance = new ParameterizedBeanPropertyRowMapper();
- newInstance.setMappedClass(mappedClass);
- return newInstance;
- }
-
-}
diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedRowMapper.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedRowMapper.java
deleted file mode 100644
index e57349afe02..00000000000
--- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedRowMapper.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Copyright 2002-2008 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.springframework.jdbc.core.simple;
-
-import org.springframework.jdbc.core.RowMapper;
-
-/**
- * Extension of the {@link org.springframework.jdbc.core.RowMapper} interface,
- * adding type parameterization. As of Spring 3.0, this is equivalent to
- * using the RowMapper interface directly.
- *
- * @author Rob Harrop
- * @author Juergen Hoeller
- * @since 2.0
- * @see org.springframework.jdbc.core.simple.SimpleJdbcOperations
- * @deprecated along with {@link SimpleJdbcTemplate}, in favor of the regular
- * {@link RowMapper}
- */
-@Deprecated
-public interface ParameterizedRowMapper extends RowMapper {
-
-}
diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedSingleColumnRowMapper.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedSingleColumnRowMapper.java
deleted file mode 100644
index 252e00937c6..00000000000
--- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/ParameterizedSingleColumnRowMapper.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright 2002-2012 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.springframework.jdbc.core.simple;
-
-import org.springframework.jdbc.core.SingleColumnRowMapper;
-
-/**
- * {@link ParameterizedRowMapper} implementation that converts a single column
- * into a single result value per row. Expects to operate on a
- * {@code java.sql.ResultSet} that just contains a single column.
- *
- *
The type of the result value for each row can be specified. The value
- * for the single column will be extracted from the {@code ResultSet}
- * and converted into the specified target type.
- *
- *
Uses Java 5 covariant return types to override the return type of the
- * {@link #mapRow} method to be the type parameter {@code T}.
- *
- * @author Juergen Hoeller
- * @since 2.5.2
- * @deprecated along with {@link SimpleJdbcTemplate}, in favor of the regular
- * {@link org.springframework.jdbc.core.SingleColumnRowMapper}
- */
-@Deprecated
-public class ParameterizedSingleColumnRowMapper extends SingleColumnRowMapper
- implements ParameterizedRowMapper {
-
- /**
- * Static factory method to create a new ParameterizedSingleColumnRowMapper
- * (with the required type specified only once).
- * @param requiredType the type that each result object is expected to match
- */
- public static ParameterizedSingleColumnRowMapper newInstance(Class requiredType) {
- ParameterizedSingleColumnRowMapper newInstance = new ParameterizedSingleColumnRowMapper();
- newInstance.setRequiredType(requiredType);
- return newInstance;
- }
-
-}
diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcDaoSupport.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcDaoSupport.java
deleted file mode 100644
index d0918966585..00000000000
--- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcDaoSupport.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright 2002-2012 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.springframework.jdbc.core.simple;
-
-import org.springframework.jdbc.core.support.JdbcDaoSupport;
-
-/**
- * Extension of {@link org.springframework.jdbc.core.support.JdbcDaoSupport}
- * that exposes a {@link #getSimpleJdbcTemplate() SimpleJdbcTemplate} as well.
- * Only usable on Java 5 and above.
- *
- * @author Rod Johnson
- * @author Juergen Hoeller
- * @since 2.0
- * @see SimpleJdbcTemplate
- * @deprecated since Spring 3.1 in favor of {@link org.springframework.jdbc.core.support.JdbcDaoSupport} and
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport}. The JdbcTemplate and
- * NamedParameterJdbcTemplate now provide all the functionality of the SimpleJdbcTemplate.
- */
-@Deprecated
-public class SimpleJdbcDaoSupport extends JdbcDaoSupport {
-
- private SimpleJdbcTemplate simpleJdbcTemplate;
-
-
- /**
- * Create a SimpleJdbcTemplate based on the configured JdbcTemplate.
- */
- @Override
- protected void initTemplateConfig() {
- this.simpleJdbcTemplate = new SimpleJdbcTemplate(getJdbcTemplate());
- }
-
- /**
- * Return a SimpleJdbcTemplate wrapping the configured JdbcTemplate.
- */
- public SimpleJdbcTemplate getSimpleJdbcTemplate() {
- return this.simpleJdbcTemplate;
- }
-
-}
diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcOperations.java b/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcOperations.java
deleted file mode 100644
index b22fdee5476..00000000000
--- a/spring-jdbc/src/main/java/org/springframework/jdbc/core/simple/SimpleJdbcOperations.java
+++ /dev/null
@@ -1,491 +0,0 @@
-/*
- * Copyright 2002-2012 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.springframework.jdbc.core.simple;
-
-import java.util.List;
-import java.util.Map;
-
-import org.springframework.dao.DataAccessException;
-import org.springframework.jdbc.core.JdbcOperations;
-import org.springframework.jdbc.core.RowMapper;
-import org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations;
-import org.springframework.jdbc.core.namedparam.SqlParameterSource;
-
-/**
- * JDBC operations interface usable on Java 5 and above, exposing a
- * set of common JDBC operations, whose interface is simplified
- * through the use of varargs and autoboxing.
- *
- * @author Rod Johnson
- * @author Rob Harrop
- * @author Thomas Risberg
- * @since 2.0
- * @see org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
- * @see SimpleJdbcTemplate
- * @see org.springframework.jdbc.core.JdbcOperations
- * @deprecated since Spring 3.1 in favor of {@link org.springframework.jdbc.core.JdbcOperations} and
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations}. The JdbcTemplate and
- * NamedParameterJdbcTemplate now provide all the functionality of the SimpleJdbcTemplate.
- */
-@Deprecated
-public interface SimpleJdbcOperations {
-
- /**
- * Expose the classic Spring JdbcTemplate to allow invocation of less
- * commonly used methods.
- */
- JdbcOperations getJdbcOperations();
-
- /**
- * Expose the Spring NamedParameterJdbcTemplate to allow invocation of less
- * commonly used methods.
- */
- NamedParameterJdbcOperations getNamedParameterJdbcOperations();
-
-
- /**
- * Query for an {@code int} passing in a SQL query
- * using the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * and a map containing the arguments.
- * @param sql the SQL query to run.
- * @param args the map containing the arguments for the query
- */
- int queryForInt(String sql, Map args) throws DataAccessException;
-
- /**
- * Query for an {@code int} passing in a SQL query
- * using the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * and a {@code SqlParameterSource} containing the arguments.
- * @param sql the SQL query to run.
- * @param args the {@code SqlParameterSource} containing the arguments for the query.
- */
- int queryForInt(String sql, SqlParameterSource args) throws DataAccessException;
-
- /**
- * Query for an {@code int} passing in a SQL query
- * using the standard '?' placeholders for parameters
- * and a variable number of arguments.
- * @param sql the SQL query to run.
- * @param args the variable number of arguments for the query
- */
- int queryForInt(String sql, Object... args) throws DataAccessException;
-
- /**
- * Query for an {@code long} passing in a SQL query
- * using the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * and a map containing the arguments.
- * @param sql the SQL query to run.
- * @param args the map containing the arguments for the query
- */
- long queryForLong(String sql, Map args) throws DataAccessException;
-
- /**
- * Query for an {@code long} passing in a SQL query
- * using the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * and a {@code SqlParameterSource} containing the arguments.
- * @param sql the SQL query to run.
- * @param args the {@code SqlParameterSource} containing the arguments for the query
- */
- long queryForLong(String sql, SqlParameterSource args) throws DataAccessException;
-
- /**
- * Query for an {@code long} passing in a SQL query
- * using the standard '?' placeholders for parameters
- * and a variable number of arguments.
- * @param sql the SQL query to run.
- * @param args the variable number of arguments for the query
- */
- long queryForLong(String sql, Object... args) throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} identified by the supplied @{@link Class}.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param requiredType the required type of the return value
- * @param args the map containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, Class)
- * @see JdbcOperations#queryForObject(String, Object[], Class)
- */
- T queryForObject(String sql, Class requiredType, Map args)
- throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} identified by the supplied @{@link Class}.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param requiredType the required type of the return value
- * @param args the {@code SqlParameterSource} containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, Class)
- * @see JdbcOperations#queryForObject(String, Object[], Class)
- */
- T queryForObject(String sql, Class requiredType, SqlParameterSource args)
- throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} identified by the supplied @{@link Class}.
- * Uses sql with the standard '?' placeholders for parameters
- * @param sql the SQL query to run
- * @param requiredType the required type of the return value
- * @param args the variable number of arguments for the query
- * @see JdbcOperations#queryForObject(String, Class)
- * @see JdbcOperations#queryForObject(String, Object[], Class)
- */
- T queryForObject(String sql, Class requiredType, Object... args)
- throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} using the supplied
- * {@link RowMapper} to the query results to the object.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param rm the @{@link RowMapper} to use for result mapping
- * @param args the map containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- */
- T queryForObject(String sql, RowMapper rm, Map args)
- throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} using the supplied
- * {@link ParameterizedRowMapper} to the query results to the object.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param rm the @{@link ParameterizedRowMapper} to use for result mapping
- * @param args the map containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- * @deprecated as of Spring 3.0: Use the method using the newly genericized RowMapper interface
- * instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
- */
- @Deprecated
- T queryForObject(String sql, ParameterizedRowMapper rm, Map args)
- throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} using the supplied
- * {@link RowMapper} to the query results to the object.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param rm the @{@link RowMapper} to use for result mapping
- * @param args the {@code SqlParameterSource} containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- */
- T queryForObject(String sql, RowMapper rm, SqlParameterSource args)
- throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} using the supplied
- * {@link ParameterizedRowMapper} to the query results to the object.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param rm the @{@link ParameterizedRowMapper} to use for result mapping
- * @param args the {@code SqlParameterSource} containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- * @deprecated as of Spring 3.0: Use the method using the newly genericized RowMapper interface
- * instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
- */
- @Deprecated
- T queryForObject(String sql, ParameterizedRowMapper rm, SqlParameterSource args)
- throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} using the supplied
- * {@link RowMapper} to the query results to the object.
- * Uses sql with the standard '?' placeholders for parameters
- * @param sql the SQL query to run
- * @param rm the @{@link RowMapper} to use for result mapping
- * @param args the variable number of arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- */
- T queryForObject(String sql, RowMapper rm, Object... args)
- throws DataAccessException;
-
- /**
- * Query for an object of type {@code T} using the supplied
- * {@link ParameterizedRowMapper} to the query results to the object.
- * Uses sql with the standard '?' placeholders for parameters
- * @param sql the SQL query to run
- * @param rm the @{@link ParameterizedRowMapper} to use for result mapping
- * @param args the variable number of arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- * @deprecated as of Spring 3.0: Use the method using the newly genericized RowMapper interface
- * instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
- */
- @Deprecated
- T queryForObject(String sql, ParameterizedRowMapper rm, Object... args)
- throws DataAccessException;
-
- /**
- * Query for a {@link List} of {@code Objects} of type {@code T} using
- * the supplied {@link RowMapper} to the query results to the object.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param rm the @{@link RowMapper} to use for result mapping
- * @param args the map containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- */
- List query(String sql, RowMapper rm, Map args)
- throws DataAccessException;
-
- /**
- * Query for a {@link List} of {@code Objects} of type {@code T} using
- * the supplied {@link ParameterizedRowMapper} to the query results to the object.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param rm the @{@link ParameterizedRowMapper} to use for result mapping
- * @param args the map containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- * @deprecated as of Spring 3.0: Use the method using the newly genericized RowMapper interface
- * instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
- */
- @Deprecated
- List query(String sql, ParameterizedRowMapper rm, Map args)
- throws DataAccessException;
-
- /**
- * Query for a {@link List} of {@code Objects} of type {@code T} using
- * the supplied {@link RowMapper} to the query results to the object.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param rm the @{@link RowMapper} to use for result mapping
- * @param args the {@code SqlParameterSource} containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- */
- List query(String sql, RowMapper rm, SqlParameterSource args)
- throws DataAccessException;
-
- /**
- * Query for a {@link List} of {@code Objects} of type {@code T} using
- * the supplied {@link ParameterizedRowMapper} to the query results to the object.
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param rm the @{@link ParameterizedRowMapper} to use for result mapping
- * @param args the {@code SqlParameterSource} containing the arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- * @deprecated as of Spring 3.0: Use the method using the newly genericized RowMapper interface
- * instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
- */
- @Deprecated
- List query(String sql, ParameterizedRowMapper rm, SqlParameterSource args)
- throws DataAccessException;
-
- /**
- * Query for a {@link List} of {@code Objects} of type {@code T} using
- * the supplied {@link RowMapper} to the query results to the object.
- * Uses sql with the standard '?' placeholders for parameters
- * @param sql the SQL query to run
- * @param rm the @{@link RowMapper} to use for result mapping
- * @param args the variable number of arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- */
- List query(String sql, RowMapper rm, Object... args)
- throws DataAccessException;
-
- /**
- * Query for a {@link List} of {@code Objects} of type {@code T} using
- * the supplied {@link ParameterizedRowMapper} to the query results to the object.
- * Uses sql with the standard '?' placeholders for parameters
- * @param sql the SQL query to run
- * @param rm the @{@link ParameterizedRowMapper} to use for result mapping
- * @param args the variable number of arguments for the query
- * @see JdbcOperations#queryForObject(String, org.springframework.jdbc.core.RowMapper)
- * @see JdbcOperations#queryForObject(String, Object[], org.springframework.jdbc.core.RowMapper)
- * @deprecated as of Spring 3.0: Use the method using the newly genericized RowMapper interface
- * instead since the RowMapper and ParameterizedRowMapper interfaces are equivalent now.
- */
- @Deprecated
- List query(String sql, ParameterizedRowMapper rm, Object... args)
- throws DataAccessException;
-
- /**
- * Execute the supplied query with the supplied arguments.
- *
The query is expected to be a single row query; the result row will be
- * mapped to a Map (one entry for each column, using the column name as the key).
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param args the map containing the arguments for the query
- * @see JdbcOperations#queryForMap(String)
- * @see JdbcOperations#queryForMap(String, Object[])
- */
- Map queryForMap(String sql, Map args)
- throws DataAccessException;
-
- /**
- * Execute the supplied query with the supplied arguments.
- *
The query is expected to be a single row query; the result row will be
- * mapped to a Map (one entry for each column, using the column name as the key).
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param args the {@code SqlParameterSource} containing the arguments for the query
- * @see JdbcOperations#queryForMap(String)
- * @see JdbcOperations#queryForMap(String, Object[])
- */
- Map queryForMap(String sql, SqlParameterSource args)
- throws DataAccessException;
-
- /**
- * Execute the supplied query with the (optional) supplied arguments.
- *
The query is expected to be a single row query; the result row will be
- * mapped to a Map (one entry for each column, using the column name as the key).
- * Uses sql with the standard '?' placeholders for parameters
- * @param sql the SQL query to run
- * @param args the variable number of arguments for the query
- * @see JdbcOperations#queryForMap(String)
- * @see JdbcOperations#queryForMap(String, Object[])
- */
- Map queryForMap(String sql, Object... args)
- throws DataAccessException;
-
- /**
- * Execute the supplied query with the supplied arguments.
- *
Each element in the returned {@link List} is constructed as a {@link Map}
- * as described in {@link #queryForMap}
- * Uses sql with the named parameter support provided by the
- * {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}
- * @param sql the SQL query to run
- * @param args the map containing the arguments for the query
- * @see JdbcOperations#queryForList(String)
- * @see JdbcOperations#queryForList(String, Object[])
- */
- List