You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException:
Unable to locate Attribute with the the given name [tutor.studno]
on this ManagedType [com.jss.app.model.base.RowBase]
eq(tutorStudno != null, "course.tutor.studno", tutorStudno)
当执行上面eq进行查询时,会出现下面的错误
java.lang.IllegalArgumentException:
Unable to locate Attribute with the the given name [tutor.studno]
on this ManagedType [com.jss.app.model.base.RowBase]
我确定字段名没有写错,而且使用JPA的简单查询是能够查出来的
JPA简单查询的代码
具体的实现细节
但是,
student.studno
与course.courseTyoe
等查询没有问题;下面是实体类
StudentCourse
Course
Tutor
RowBase
The text was updated successfully, but these errors were encountered: