from Article as a where communityId=any(select communityId from tblcommunity where district_id=510185)
“tblcommunity”是我数据库中的一个表,我使用的是 Grails 2.2.1,异常消息是:
tblcommunity is not mapped [from com.sccn.article.Article as a where communityId=any(select communityId from tblcommunity where district_id=510185)]
我想知道如何在 HQL 中没有映射实体类的子查询中使用表名。