org.hibernate.QueryException

Expected positional parameter count: 1, actual parameters: [] [ {? = call sp_select_pro()} ]

Solutions on the web97

  • Expected positional parameter count: 1, actual parameters: [] [ {? = call sp_select_pro()} ]
  • Expected positional parameter count: 1, actual parameters: [] [CALL proc_empname_refcursor(?, :deptId)] at org.hibernate.impl.AbstractQueryImpl.verifyParameters(AbstractQueryImpl.java:319)
  • Expected positional parameter count: 1, actual parameters: [] [{ ? = call SP_LIB_DTL(? , :branchCD ,:authorCD) }]
  • Stack trace

    • org.hibernate.QueryException: Expected positional parameter count: 1, actual parameters: [] [ {? = call sp_select_pro()} ] at org.hibernate.impl.AbstractQueryImpl.verifyParameters(AbstractQueryImpl.java:118) at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:133) at com.hiber.first.QueryChecking.main(QueryChecking.java:27)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 years ago
    Unknown user
    Once, 1 year ago