我写了一个查询:
select c.ContactID as key,c.ContactName as value
from com.seismic.crm.model.Contact c inner join c.account ca
where ca.accountId = :accountId
并得到以下异常
org.hibernate.QueryException: could not resolve property:
account of: com.seismic.crm.model.Contact