Hibernate 多对多关联查询条件使用

from Brand as b inner join fetch b.styles as s where s.styleId=? 

原文地址:https://www.cnblogs.com/cocoat/p/5427467.html