Hibernate Hql 中是否可以部分指定SQL
我有一个HQL
from TMenu a where a.FSeq in (select FFunctionSeqId from TSysRoleFunctions where FRoleSeqId =?)
其中 TSysRoleFunctions 并没有对应的实体类
我希望让HQL明白 (select FFunctionSeqId from TSysRoleFunctions where FRoleSeqId =?)这段不需要它翻译
可以实现吗?