org.hibernate.QueryException:could not resolve propertycould not resolve property:customers of:com.betex.crm.sysmanage.domain.User [ select u from com.betex.crm.sysmanage.domain.User u left outer join u.customers as customer where customer.id=?]这

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 10:41:16

org.hibernate.QueryException:could not resolve propertycould not resolve property:customers of:com.betex.crm.sysmanage.domain.User [ select u from com.betex.crm.sysmanage.domain.User u left outer join u.customers as customer where customer.id=?]这
org.hibernate.QueryException:could not resolve property
could not resolve property:customers of:com.betex.crm.sysmanage.domain.User [ select u from com.betex.crm.sysmanage.domain.User u left outer join u.customers as customer where customer.id=?]
这个出错是什么原因

org.hibernate.QueryException:could not resolve propertycould not resolve property:customers of:com.betex.crm.sysmanage.domain.User [ select u from com.betex.crm.sysmanage.domain.User u left outer join u.customers as customer where customer.id=?]这
你查询的时候有个属性customers跟表里的字段不符合,没有完全匹配上.