java.lang.IllegalArgumentException: Parameter value [{d '2001-01-31'}] was not matching type [java.util.Date]

Hibernate JIRA | Juergen Zimmermann | 7 years ago
  1. 0

    QueryDsl-JPA SUM on Integer field - Parameter value did not match expected type

    Stack Overflow | 3 years ago | Arthur canardo'
    java.lang.IllegalArgumentException: Parameter value [0] did not match expected type [java.lang.Long]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    QueryDSL Creating query with @Embedded column

    GitHub | 2 years ago | miroslav24
    java.lang.IllegalArgumentException: Parameter value [Jo%] did not match expected type [com.package.CustomerName]
  4. 0

    Exception with BigDecimal constant in JPAQuery creation

    GitHub | 4 years ago | steeltomato
    java.lang.IllegalArgumentException: Parameter value [1.0] did not match expected type [java.math.BigDecimal]

    3 unregistered visitors
    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 [{d '2001-01-31'}] was not matching type [java.util.Date]

      at org.hibernate.ejb.AbstractQueryImpl.registerParameterBinding()
    2. Hibernate EJB
      QueryImpl.setParameter
      1. org.hibernate.ejb.AbstractQueryImpl.registerParameterBinding(AbstractQueryImpl.java:354)
      2. org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:354)
      3. org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:71)
      3 frames