org.hibernate.QueryException

Expected positional parameter count: 2, actual parameters: [[7, ABC]] [select * from PMT.CSE_NME_VW where PMT_ID=? and PMT_NAME=?]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web34

  • Stack trace

    • org.hibernate.QueryException: Expected positional parameter count: 2, actual parameters: [[7, ABC]] [select * from PMT.CSE_NME_VW where PMT_ID=? and PMT_NAME=?] at org.hibernate.impl.AbstractQueryImpl.verifyParameters(AbstractQueryImpl.java:367) at org.hibernate.impl.SQLQueryImpl.verifyParameters(SQLQueryImpl.java:228) at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:172)

    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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,