oplevel of: com.dk.ykt.model.OperFunction [from com.dk.ykt.model.OperFunction as op where op.oplevel=22]; nested exception is org.hibernate.QueryException: could not resolve property: oplevel of: com.dk.ykt.model.OperFunction [from com.dk.ykt.model.OperFunction as op where op.oplevel=22]
org.hibernate.QueryException: could not resolve property: oplevel of: com.dk.ykt.model.OperFunction [from com.dk.ykt.model.OperFunction as op where op.oplevel=22]
at org.hibernate.persister.entity.AbstractPropertyMapping.throwPropertyException(AbstractPropertyMapping.java:43)
at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:37)
at org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1265)
at org.hibernate.hql.ast.tree.FromElementType.getPropertyType(FromElementType.java:279)
at org.hibernate.hql.ast.tree.FromElement.getPropertyType(FromElement.java:372)
at org.hibernate.hql.ast.tree.DotNode.getDataType(DotNode.java:539)
at org.hibernate.hql.ast.tree.DotNode.prepareLhs(DotNode.java:221)
at org.hibernate.hql.ast.tree.DotNode.resolve(DotNode.java:172)
------解决方案--------------------
属性没有,where op.oplevel=22
大小写有没错?oplevel是什么类型?