Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. EntityType.resolve() has thrown a TypeMismatchException
    Hibernate Core
    4
    0
    0
  2. EntityType.resolveIdentifier() has thrown a TypeMismatchException
    Hibernate Core
    4
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.hibernate.TypeMismatchException: Provided id of the wrong type for class com.abcCompany.AddressVO. Expected: class java.lang.Integer, got class java.lang.String
3 matching frames hidden
    at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:716)
    at org.hibernate.type.EntityType.resolve(EntityType.java:502)

External results for this pattern (4)

  1. Provided id of the wrong type for class com.abcCompany.AddressVO. Expected: class java.lang.Integer, got class java.lang.String
    Show stack trace
  2. Provided id of the wrong type for class com.citruspay.common.domain.consumer.ConsumerDetail. Expected: class java.lang.Integer, got class org.hibernate.action.internal.DelayedPostInsertIdentifier
    Show stack trace
  3. earnazvia Stack Overflow2 years ago
    Provided id of the wrong type for class es.model.entities.Poa. Expected: class es.model.entities.PoaPK, got class es.model.entities.AutPK
    Show stack trace
  4. Provided id of the wrong type for class com.home.hostme.entity.Image. Expected: class java.lang.Long, got class java.lang.Integer
    Show stack trace