net.sf.hibernate.WrongClassException: Object with id: XXX was not of the specified subclass: com.woolly.store.product.DisplayProductVariation (loaded object was of wrong class)

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 Hibernate JIRA by Dave Birch, 1 year ago
Object with id: XXX was not of the specified subclass: com.woolly.store.product.DisplayProduct (loaded object was of wrong class)
via Hibernate JIRA by Dave Birch, 1 year ago
Object with id: XXX was not of the specified subclass: com.woolly.store.product.DisplayProduct (loaded object was of wrong class)
via Hibernate JIRA by Sam Perman, 1 year ago
Object with id: 1346 was not of the specified subclass: my.BarImpl(loaded object was of wrong class)
via Hibernate JIRA by Sam Perman, 1 year ago
Object with id: 1346 was not of the specified subclass: my.BarImpl(loaded object was of wrong class)
net.sf.hibernate.WrongClassException: Object with id: XXX was not of the specified subclass: com.woolly.store.product.DisplayProductVariation (loaded object was of wrong class)
at net.sf.hibernate.loader.Loader.instanceAlreadyLoaded(Loader.java:531)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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