2 hjw6191 hjw6191 于 2013.06.08 09:58 提问

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个回答

baij1230
baij1230   2017.01.31 21:59

使用内联接inner join on试试

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!