我在我的存储库中得到的错误: Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: Unable to locate appropriateLEFT JOIN com.foxminded.university.model.Group G ON L.groupId=G.groupId ORDER BY L.lessonId] 我遇到错误的查询ON " +
"L.groupId=G.groupId ORD
我在JPQL命名查询中使用AVG函数。但是我遇到了错误,无法在类上找到适当的构造函数--我尝试过在Integer、Float、BigDecimal变量中使用它,但是它仍然没有工作。我正在计算bigDecimal值的平均值。就连我都试着做AVG(CAST(s.marks AS FLOAT))
有人能帮忙吗?