prefect1005 opened a new issue #6426:
URL: https://github.com/apache/shardingsphere/issues/6426


   
spring.shardingsphere.datasource.ds0.url=jdbc:mysql://1........:8888/ds_0?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&rewriteBatchedStatements=true
 
   spring.shardingsphere.datasource.ds0.username=
   spring.shardingsphere.datasource.ds0.password=
   
   we nominate schema is ds_0
   if we execute sql like "select * from ds_1.table_name where id = ?"
   because in SchemaMetaData's private final Map<String, TableMetaData> tables; 
tables initialize value is  tables under ds_0 schema , there no ds_1.table_name 
in it. so sql  can execute  but in resultSet can't set value in javaBean. the 
conclusion is "all elements are null".
   
   we use 4.1.1 has this problem
   but in 4.0.1 version that not have this problem.
   
   whether or not we can add all tables into SchemaMetaData's tables.
   
   


----------------------------------------------------------------
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.

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


Reply via email to