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

试用join 多表联查时出现 page 1 of 0 cantaining unknown instances #34

Open
adzchao opened this issue Mar 8, 2019 · 3 comments

Comments

@adzchao
Copy link

adzchao commented Mar 8, 2019

image
image
image

这是我试用jion 方法多表联查的时候 出现的一个问题 请问这个有遇到过么

@wenhao
Copy link
Owner

wenhao commented Mar 11, 2019

我先看看

@wenhao
Copy link
Owner

wenhao commented Mar 12, 2019

麻烦把生成的SQL打印出来看看

spring.jpa.show-sql = true
spring.jpa.properties.hibernate.format_sql = true

@adzchao
Copy link
Author

adzchao commented Mar 12, 2019

image
select goods0_.id as id1_2_, goods0_.flag as flag2_2_, goods0_.goods_name as goods_na3_2_, goods0_.goods_type_id as goods_ty5_2_, goods0_.num as num4_2_ from goods goods0_ left outer join goods_type goodstype1_ on goods0_.goods_type_id=goodstype1_.id where goodstype1_.goods_type_name=? order by goods0_.id asc limit ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants