java.lang.IllegalArgumentException

Parameter value [ROLE_2] was not matching type [java.util.Set]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web19292

  • via Hibernate JIRA by Koen Molkenboer, 1 year ago
    Parameter value [ROLE_2] was not matching type [java.util.Set]
  • via Hibernate JIRA by Koen Molkenboer, 1 year ago
    Parameter value [ROLE_2] was not matching type [java.util.Set]
  • via Google Groups by Chris Seidel, 1 month ago
    Parameter value [Test] was not matching type [java.util.Set]
  • Stack trace

    • java.lang.IllegalArgumentException: Parameter value [ROLE_2] was not matching type [java.util.Set] at org.hibernate.ejb.AbstractQueryImpl.registerParameterBinding(AbstractQueryImpl.java:360) at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:359) at org.hibernate.ejb.criteria.CriteriaQueryCompiler$1$1.bind(CriteriaQueryCompiler.java:194) at org.hibernate.ejb.criteria.CriteriaQueryCompiler.compile(CriteriaQueryCompiler.java:247) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:437)

    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, 1 year ago