mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-30 06:09:14 +00:00
Change explicit bean type to concrete NamedParameterJdbcTemplate
Fixes gh-447
This commit is contained in:
+1
-1
@@ -177,7 +177,7 @@ public class DataSourceAutoConfiguration implements EnvironmentAware {
|
||||
|
||||
@Bean
|
||||
@ConditionalOnMissingBean(NamedParameterJdbcOperations.class)
|
||||
public NamedParameterJdbcOperations namedParameterJdbcTemplate() {
|
||||
public NamedParameterJdbcTemplate namedParameterJdbcTemplate() {
|
||||
return new NamedParameterJdbcTemplate(this.dataSource);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user