org.hibernate.QueryException: query specified join fetching, but the owner of the fetched associatio
去掉join语句中的fetch关键字,否则再运行counthql语句中会有异常:Causedby:org.hibernate.QueryException:queryspecifiedjoinfetching,buttheownerofthefetchedassociationwasnotpresentintheselectlist[FromElement{explicit,notacollect