Skip to content

点击任意二级菜单报错 #12

@hellowql

Description

@hellowql

Caused by: org.hibernate.QueryException: Named parameter not bound : roleId
at org.hibernate.query.internal.QueryParameterBindingsImpl.verifyParametersBound(QueryParameterBindingsImpl.java:210)
at org.hibernate.query.internal.AbstractProducedQuery.beforeQuery(AbstractProducedQuery.java:1403)
at org.hibernate.query.internal.NativeQueryImpl.beforeQuery(NativeQueryImpl.java:246)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1503)
at org.hibernate.query.Query.getResultList(Query.java:135)
at cn.enilu.material.dao.BaseRepositoryImpl.queryBySql(BaseRepositoryImpl.java:45)

我是这样修复的:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions