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