Compare commits
2 Commits
e724607a66
...
c8e6bbe059
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8e6bbe059 | ||
|
|
a9eabe97f7 |
@@ -29,8 +29,8 @@ public class ClickHouseConfig {
|
||||
|
||||
@Bean
|
||||
@Primary
|
||||
public JdbcTemplate jdbcTemplate(DataSourceProperties properties) {
|
||||
return new JdbcTemplate(dataSource(properties));
|
||||
public JdbcTemplate jdbcTemplate(@Qualifier("dataSource") DataSource dataSource) {
|
||||
return new JdbcTemplate(dataSource);
|
||||
}
|
||||
|
||||
@Bean(name = "clickHouseDataSource")
|
||||
|
||||
Reference in New Issue
Block a user