我在使用sharding 的时候,配置了多数据源,提示报错,报错信息提示表不在一个区,求帮助?

只愿在路上只愿在路上 · 2022-03-27 17:29
SQL: SELECT id,name,age FROM user_fever WHERE id=? AND name=? AND age=? ### Cause: org.apache.shardingsphere.infra.exception.ShardingSphereException: Can not route tables for `[user_fever]`, please make sure the tables are in same schema.] with root cause org.apache.shardingsphere.infra.exception.ShardingSphereException: Can not route tables for `[user_fever]`, please make sure the tables are in same schema. at org.apache.shardingsphere.sharding.route.engine.type.unconfigured.ShardingUnconfiguredTablesRoutingEngine.route(ShardingUnconfiguredTablesRoutingEngine.java:55) at org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter.createRouteContext(ShardingSQLRouter.java:70) at org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter.createRouteContext(ShardingSQLRouter.java:55) at org.apache.shardingsphere.infra.route.engine.impl.PartialSQLRouteExecutor.route(PartialSQLRouteExecutor.java:59) at org.apache.shardingsphere.infra.route.engine.SQLRouteEngine.ro
0 个回答
暂无回答