Class NamedParameterJdbcDaoSupport
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport
- All Implemented Interfaces:
InitializingBean
@Deprecated(since="7.0",
forRemoval=true)
public class NamedParameterJdbcDaoSupport
extends JdbcDaoSupport
Deprecated, for removal: This API element is subject to removal in a future version.
Extension of JdbcDaoSupport that exposes a NamedParameterJdbcTemplate as well.
- Since:
- 2.0
- Author:
- Thomas Risberg, Juergen Hoeller
- See Also:
-
Field Summary
Fields inherited from class DaoSupport
logger -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Return a NamedParameterJdbcTemplate wrapping the configured JdbcTemplate.protected voidDeprecated, for removal: This API element is subject to removal in a future version.Create a NamedParameterJdbcTemplate based on the configured JdbcTemplate.Methods inherited from class JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, releaseConnection, setDataSource, setJdbcTemplateMethods inherited from class DaoSupport
afterPropertiesSet, initDao
-
Constructor Details
-
NamedParameterJdbcDaoSupport
public NamedParameterJdbcDaoSupport()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
initTemplateConfig
protected void initTemplateConfig()Deprecated, for removal: This API element is subject to removal in a future version.Create a NamedParameterJdbcTemplate based on the configured JdbcTemplate.- Overrides:
initTemplateConfigin classJdbcDaoSupport- See Also:
-
getNamedParameterJdbcTemplate
Deprecated, for removal: This API element is subject to removal in a future version.Return a NamedParameterJdbcTemplate wrapping the configured JdbcTemplate.
-
NamedParameterJdbcTemplateorJdbcClient