org.hibernate.MappingException: Unknown entity: java.util.HashSet

coderanch.com | 3 months ago
  1. 0

    javax.servlet.ServletException: org.hibernate.MappingException: Unknown entity: com.example.Person

    Stack Overflow | 3 years ago | user3329879
    org.hibernate.MappingException: Unknown entity: com.example.Person
  2. 0

    PostgreSQL - Hibernate & PostgreSQL

    java-forum.org | 4 months ago
    org.hibernate.MappingException: Unknown entity: deni.model.Address
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JSF - Hibernate MappingException Unkown Entity | Java: Java-Forum.org

    java-forum.org | 8 months ago
    org.hibernate.MappingException: Unknown entity: org.prometering.mmdemo.models.User
  5. 0

    HIbernate gives unknown entity exception

    Stack Overflow | 5 months ago | pratt
    org.hibernate.MappingException: Unknown entity: com.myproject.hibernate.model.AppInfo

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.MappingException

      Unknown entity: java.util.HashSet

      at org.hibernate.impl.SessionFactoryImpl.getEntityPersister()
    2. Hibernate
      SessionImpl.save
      1. org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:693)
      2. org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1485)
      3. org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:120)
      4. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)
      5. org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)
      6. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)
      7. org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)
      8. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
      9. org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:713)
      10. org.hibernate.impl.SessionImpl.save(SessionImpl.java:701)
      11. org.hibernate.impl.SessionImpl.save(SessionImpl.java:697)
      11 frames
    3. com.code.test
      Test.main
      1. com.code.test.Test.main(Test.java:31)
      1 frame