About-Gleaning opened a new issue, #29695:
URL: https://github.com/apache/shardingsphere/issues/29695

   ## Question
   my config
   ```
   @Bean(name = "shardingDataSource")
   public DataSource shardingDataSource(@Qualifier("dataSource") DataSource 
dataSource)throws Exception {
           // 配置真实数据源
           Map<String, DataSource> dataSourceMap = new HashMap<>(2);
           dataSourceMap.put("ds0", dataSource);
           DataSource shardingDataSource = 
ShardingSphereDataSourceFactory.createDataSource(dataSourceMap, 
Arrays.asList(), new Properties());
           return shardingDataSource;
   }
   ```
    run application error info :
    Table or view *** does not exist.
   
   add code: 
   `SingleRuleConfiguration ruleConfig = new 
SingleRuleConfiguration(Lists.newArrayList("ds0.supplier_channel"), "ds0");`
   
   its work
   
   why?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to