java.lang.IllegalArgumentException: Parameter value element [120] did not match expected type [[B (n/a)]

Spring JIRA | Thomas Darimont | 3 years ago
  1. 0

    What is the Spring Data JPA method for the below query

    Stack Overflow | 3 months ago | sromit
    java.lang.IllegalArgumentException: Parameter value element [com.ge.power.brs.domains.Jobs@1196a0fb] did not match expected type [java.lang.Long (n/a)]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    How to query for Map values with Spring Data JPA?

    Stack Overflow | 2 years ago | Petar Tahchiev
    java.lang.IllegalArgumentException: Parameter value [en=Some Value] did not match expected type [com.test.LocalizedValue (n/a)]
  4. 0

    Parameter value element [...] did not match expected type [org.hibernate.type.EnumType]

    Stack Overflow | 3 years ago | Sander Verhagen
    java.lang.IllegalArgumentException: Parameter value element [INCLUDED] did not match expected type [org.hibernate.type.EnumType]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Parameter value element [120] did not match expected type [[B (n/a)]

      at org.hibernate.jpa.spi.BaseQueryImpl.validateCollectionValuedParameterBinding()
    2. org.hibernate.jpa
      BaseQueryImpl.validateCollectionValuedParameterBinding
      1. org.hibernate.jpa.spi.BaseQueryImpl.validateCollectionValuedParameterBinding(BaseQueryImpl.java:908)
      1 frame