"Unknown entity" during find or persist in Hibernate
Issue
-
When calling
find
orpersist
method, encountering exceptions like the below... org.hibernate.MappingException: Unknown entity: <ENTITY_NAME_HERE>
... java.lang.IllegalArgumentException: Unknown entity: <ENTITY_NAME_HERE>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5
- 6
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.