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/12/18 22:23:10
org.hibernate.QueryException:couldnotresolvepropertycouldnotresolveproperty:customersof:com.betex.cr

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跟表里的字段不符合,没有完全匹配上.