Skip to content

[BUG] - 在隐式子查询内部使用 subQuery 子查询导致报错 #961

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

Closed
dejavuhuh opened this issue Mar 18, 2025 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@dejavuhuh
Copy link
Contributor

Jimmer Version

0.9.43

JDK Version

JDK 21

Database

MySQL

OS

Mac

Expected behavior

在隐式子查询内部可以正常使用 subQuery 子查询

Actual behavior

在隐式子查询内部使用 subQuery 子查询导致报错。
代码如下图所示:
Image
报错信息:The sub query cannot be added to parent query because it is belong to another parent query
Image

Description

Reproduction steps

Generated SQL

No response

Relation Model

No response

Screenshots

No response

Logs

No response

@dejavuhuh dejavuhuh added the bug Something isn't working label Mar 18, 2025
babyfish-ct added a commit that referenced this issue Mar 18, 2025
@babyfish-ct
Copy link
Owner

Try 0.9.68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants