java.lang.IllegalArgumentException: Unaware how to convert value [250000000 : java.lang.Long] to requested type [java.lang.Number]

Hibernate JIRA | Jens Rydholm | 6 years ago
  1. 0

    JPA Criteria API and making query with WHERE predicate containing .in()

    Stack Overflow | 1 year ago | MichaƂ Ziobro
    java.lang.IllegalArgumentException: Unaware how to convert value [pl.salonea.entities.Provider@85eab3b6 : pl.salonea.entities.Provider] to requested type [java.lang.Long]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Unaware how to convert value [[I@58e8ec60 : [I] to requested type [java.lang.Integer]

    GitHub | 6 months ago | mincong-h
    java.lang.IllegalArgumentException: Unaware how to convert value [[I@58e8ec60 : [I] to requested type [java.lang.Integer]
  4. 0

    How do i query on primary key field

    Stack Overflow | 2 years ago | Ben Keil
    java.lang.IllegalArgumentException: Unaware how to convert value [1 : java.lang.Integer] to requested type [java.io.Serializable]

    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

      Unaware how to convert value [250000000 : java.lang.Long] to requested type [java.lang.Number]

      at org.hibernate.ejb.criteria.ValueHandlerFactory.unknownConversion()
    2. Hibernate EJB
      CriteriaBuilderImpl.ge
      1. org.hibernate.ejb.criteria.ValueHandlerFactory.unknownConversion(ValueHandlerFactory.java:259)
      2. org.hibernate.ejb.criteria.ValueHandlerFactory.convert(ValueHandlerFactory.java:287)
      3. org.hibernate.ejb.criteria.predicate.ComparisonPredicate.<init>(ComparisonPredicate.java:88)
      4. org.hibernate.ejb.criteria.CriteriaBuilderImpl.ge(CriteriaBuilderImpl.java:534)
      4 frames