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 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)
via Hibernate JIRA by Dave Birch, 1 year ago
Object with id: XXX was not of the specified subclass: com.woolly.store.product.DisplayProductVariation (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 Dave Birch, 1 year ago
Object with id: XXX was not of the specified subclass: com.woolly.store.product.DisplayProductVariation (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)
net.sf.hibernate.WrongClassException: Object with id: 1346 was not of the specified subclass: my.BarImpl(loaded object was of wrong class) 	at net.sf.hibernate.loader.Loader.instanceAlreadyLoaded(Loader.java:456)	at net.sf.hibernate.loader.Loader.getRow(Loader.java:423)	at net.sf.hibernate.loader.Loader.doQuery(Loader.java:209)	at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)	at net.sf.hibernate.loader.Loader.doList(Loader.java:955)	at net.sf.hibernate.loader.Loader.list(Loader.java:946)	at net.sf.hibernate.loader.SQLLoader.list(SQLLoader.java:92)	at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3797)	at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52)	at my.BarImpl.getParents(BarImpl.java:266)