我有一个hql查询
select new com.packagename.CountryInfoDto(c.countriesId, c.internationalCode, c.countryName, ot.name) from Country c
inner join OtherTable ot on c.otid = ot.id
where c.deleted = (:deleted)
order by c.countryName
我这样创建查询。
TypedQuery query=entityManager.createQuery(queryString,BookingInfoDto.class(;
现在,如果我想提示use_nl(c ot((使用嵌套循环(,我该如何添加该提示?
你不能。您需要使用本机查询。