org.hibernate.QueryException: could not resolve property: title of:求解决hql

org.hibernate.QueryException: could not resolve property: title of: com.head.oa.affairs.archivemanage.entity.ArchiveInfo [select count(*) from com.head.oa.affairs.archivemanage.entity.ArchiveInfo a,com.head.oa.affairs.archivemanage.entity.ArchiveQianshou q where q.businessId=a.id and q.qianshouren.id='4046c09513aaaac40113aaaace270045' and (a.category_id.name like '%收复失地%'or a.dept like '%收复失地%'or a.keeptime like '%收复失地%'or a.duty like '%收复失地%'or a.wenhao like '%收复失地%'or a.title like '%收复失地%'or a.page like '%收复失地%'or a.place like '%收复失地%'or a.type = '收复失地' or CONVERT(varchar(100), a.gddate, 23)='收复失地')]

hql怎么报错?求大牛解决

1个回答

使用内联接inner join on试试

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐