org.hibernate.WrongClassException: Object with id: 10000 was not of the specified subclass: A (Discriminator: D)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Satish Kumar
, 1 year ago
Object with id: 261 was not of the specified subclass: com.lmig.lit.lpew.model.criteria.SearchCriteria (Discriminator: DATE )
via Hibernate JIRA by Nicolas Bouillon, 1 year ago
Object with id: 592 was not of the specified subclass: pojo.Product (Discriminator: ChildProduct)
via Hibernate JIRA by Nicolas Bouillon, 1 year ago
Object with id: 592 was not of the specified subclass: pojo.Product (Discriminator: ChildProduct)
via openxava by mahc83
, 1 year ago
Object with id: 1 was not of the specified subclass: org.openxava.invoicing.model.CommercialDocument (Discriminator: 0)
org.hibernate.WrongClassException: Object with id: 10000 was not of the specified subclass: A (Discriminator: D)

Users with the same issue

Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.