Getting the following Exception. net.sf.hibernate.MappingException: Unknown
entity class: java.lang.Boolean
--------------------------------------------------------------------------------------------------------------------
Key: HHH-2769
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2769
Project: Hibernate3
Issue Type: Bug
Environment: Spring + Hibernate
Reporter: Suresh Gopalakrishnan
Priority: Blocker
Getting the following error, while trying to fetch the records from a table.
net.sf.hibernate.MappingException: Unknown entity class: java.lang.Boolean
at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryI
mpl.java:347)
at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:
2710)
at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2717)
at net.sf.hibernate.impl.SessionImpl.getEntityIdentifierIfNotUnsaved(Ses
sionImpl.java:2779)
at net.sf.hibernate.type.EntityType.getIdentifier(EntityType.java:66)
at net.sf.hibernate.type.EntityType.isDirty(EntityType.java:139)
at net.sf.hibernate.type.TypeFactory.findDirty(TypeFactory.java:225)
at net.sf.hibernate.persister.AbstractEntityPersister.findDirty(Abstract
EntityPersister.java:276)
at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2528)
at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2478
)
at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:22
80)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2259)
at org.springframework.orm.hibernate.HibernateAccessor.flushIfNecessary(
HibernateAccessor.java:214)
at org.springframework.orm.hibernate.HibernateTemplate.execute(Hibernate
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira