Cause: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view `t_user` does not exist.
Question
使用环境: jdk8 springboot2.7.11 shardingsphere5.4.1
场景、问题: databaseName: ds table: t_user,t_order_0,t_order_1 通过Yaml配置数据源及分表策略,增删查改不参与分库分表的表时,提示表不存在。
sql:select * from ds.t_user
提示 nested exception is org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: org.apache.shardingsphere.infra.exception.TableNotExistsException: Table or view t_user does not exist.
Refer to : https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-jdbc/yaml-config/rules/single/
Refer to : https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-jdbc/yaml-config/rules/single/
ok, Thanks~ The problem has been solved.
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
Since this question has been answered, I will close this issue.