Merge branch 'worktree-clickhouse-phase2'
This commit is contained in:
@@ -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