- An entity is fetched as part of a
When downcasting the entity to the appropriate subclass (e.g. casting
SubTask), the following exception is raised:
java.lang.ClassCastException: Cannot cast support.hibernate.entity.Task_$$_jvstb10_1 to support.hibernate.entity.SubTask
- Red Hat JBoss Enterprise Application Platform (EAP)
- Red Hat JBoss Fuse 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.