Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master-slave的聚合查询 #104

Closed
LiQingMuBai opened this issue Jun 11, 2016 · 1 comment
Closed

master-slave的聚合查询 #104

LiQingMuBai opened this issue Jun 11, 2016 · 1 comment

Comments

@LiQingMuBai
Copy link

在使用SpringNamespaceWithMasterSlaveMain测试类访问的时候,sql不管是有条件的还是无条件的
SELECT i.* FROM t_order o JOIN t_order_item i ON o.order_id=i.order_id没有数据展示

@terrymanu
Copy link
Member

读写分离并不提供主库和从库的数据同步。
example的例子是向主库插入,然后从从库读取时确实没数据,因为主从同步是数据库端的配置

@terrymanu terrymanu changed the title master-slave的聚合查询 [Rejected]master-slave的聚合查询 Jun 18, 2016
@terrymanu terrymanu changed the title [Rejected]master-slave的聚合查询 master-slave的聚合查询 Jul 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants