试用join 多表联查时出现 page 1 of 0 cantaining unknown instances
adzchao opened this issue · comments
我先看看
麻烦把生成的SQL打印出来看看
spring.jpa.show-sql = true
spring.jpa.properties.hibernate.format_sql = true
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 ?