public class NamedParameterJdbcDaoSupport extends JdbcDaoSupport
NamedParameterJdbcTemplate
Modifier and Type | Field and Description |
---|---|
private NamedParameterJdbcTemplate |
namedParameterJdbcTemplate |
logger
Constructor and Description |
---|
NamedParameterJdbcDaoSupport() |
Modifier and Type | Method and Description |
---|---|
NamedParameterJdbcTemplate |
getNamedParameterJdbcTemplate()
Return a NamedParameterJdbcTemplate wrapping the configured JdbcTemplate.
|
protected void |
initTemplateConfig()
Create a NamedParameterJdbcTemplate based on the configured JdbcTemplate.
|
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, releaseConnection, setDataSource, setJdbcTemplate
afterPropertiesSet, initDao
private NamedParameterJdbcTemplate namedParameterJdbcTemplate
protected void initTemplateConfig()
initTemplateConfig
in class JdbcDaoSupport
JdbcDaoSupport.getJdbcTemplate()
public NamedParameterJdbcTemplate getNamedParameterJdbcTemplate()