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

about sharding-jdbc subquery quesetion #6164

Closed
dxckey opened this issue Jun 22, 2020 · 1 comment
Closed

about sharding-jdbc subquery quesetion #6164

dxckey opened this issue Jun 22, 2020 · 1 comment

Comments

@dxckey
Copy link

dxckey commented Jun 22, 2020

about sharding-jdbc subquery quesetion

  • i have a question about subquery, there is the doc said(我有关于sharding-jdbc子查询的问题,文案上说下面的子查询框架是支持的):
    20200622173436

  • this is my spring boot profile(spring boot sharding-jdbc 相关配置文件):
    20200622172752

  • this is the log(执行控制台打印的语句):
    20200622172947
    according to the doc it's should have 3 sql query like follow(根据文档的话,我的控制台应该打印以下的sql语句吧):

select count(a.id) from (select o.id as id from t_order_0 o) a;
select count(a.id) from (select o.id as id from t_order_1 o) a;
select count(a.id) from (select o.id as id from t_order_2 o) a;
  • i use sharding-jdbc-spring-boot-starter:4.1.0+mybatis-spring-boot-starter:2.1.2,i want to is my profile has somewhere wrong or it doesn't support anymore
    我用的是sharding-jdbc-spring-boot-starter:4.1.0+mybatis-spring-boot-starter:2.1.2,我想知道这个功能是不支持了,还是我的配置出了问题
@terrymanu
Copy link
Member

terrymanu commented Jun 22, 2020

Subquery can not support for now, we will do it at version 5.x

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