org.hibernate.MappingException: Unknown entity: com.example.hibernate.bugs.inherited.MappedSupperclass

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 Oliver Breidenbach, 1 year ago
Unknown entity: com.example.hibernate.bugs.inherited.MappedSupperclass
via Hibernate JIRA by Oliver Breidenbach, 1 year ago
Unknown entity: com.example.hibernate.bugs.inherited.MappedSupperclass
via Stack Overflow by user3831696
, 2 years ago
Unknown entity: org.aggu.sramam.pojo.SramaSangham
via tagwith.com by Unknown author, 1 year ago
Unknown entity: com.mycompany.backend.hibernate.DeviceDetails
via Stack Overflow by Siddharth
, 2 years ago
Unknown entity: com.mycompany.backend.hibernate.DeviceDetails
via Stack Overflow by Eugene Goldberg
, 1 year ago
Unknown entity: com.mycompany.myproduct.data.models.Custtable
org.hibernate.MappingException: Unknown entity: com.example.hibernate.bugs.inherited.MappedSupperclass
at org.hibernate.jpa.internal.metamodel.Helper.resolveAttributeSource(Helper.java:47)
at org.hibernate.jpa.internal.metamodel.Helper.resolveType(Helper.java:96)
at org.hibernate.jpa.graph.internal.AttributeNodeImpl.internalMakeSubgraph(AttributeNodeImpl.java:123)
at org.hibernate.jpa.graph.internal.AttributeNodeImpl.makeSubgraph(AttributeNodeImpl.java:98)
at org.hibernate.jpa.graph.internal.AbstractGraphNode.addSubgraph(AbstractGraphNode.java:159)
at org.hibernate.jpa.graph.internal.EntityGraphImpl.addSubgraph(EntityGraphImpl.java:81)
at org.hibernate.jpa.graph.internal.EntityGraphImpl.addSubgraph(EntityGraphImpl.java:26)
at com.example.hibernate.bugs.inherited.InheritedEntityGraphTest.attributeNodeInheritanceTest(InheritedEntityGraphTest.java:71)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 9 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 more bugmates

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