net.sf.hibernate.MappingException: Unknown entity class: java.lang.Boolean

Hibernate JIRA | Suresh Gopalakrishnan | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. net.sf.hibernate.MappingException

      Unknown entity class: java.lang.Boolean

      at net.sf.hibernate.impl.SessionFactoryImpl.getPersister()
    2. net.sf.hibernate
      SessionImpl.flush
      1. net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:347)
      2. net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:2710)
      3. net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2717)
      4. net.sf.hibernate.impl.SessionImpl.getEntityIdentifierIfNotUnsaved(SessionImpl.java:2779)
      5. net.sf.hibernate.type.EntityType.getIdentifier(EntityType.java:66)
      6. net.sf.hibernate.type.EntityType.isDirty(EntityType.java:139)
      7. net.sf.hibernate.type.TypeFactory.findDirty(TypeFactory.java:225)
      8. net.sf.hibernate.persister.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:276)
      9. net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2528)
      10. net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2478)
      11. net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2280)
      12. net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2259)
      12 frames
    3. Hibernate
      HibernateAccessor.flushIfNecessary
      1. org.springframework.orm.hibernate.HibernateAccessor.flushIfNecessary(HibernateAccessor.java:214)
      1 frame