org.hibernate.MappingException: Unknown entity

Asked on May 11, 2013
Hi All,
Any clue for the below error.

"main" org.hibernate.MappingException: Unknown entity:
    at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(
    at org.hibernate.event.def.DefaultLoadEventListener.onLoad(
    at org.hibernate.impl.SessionImpl.fireLoad(
    at org.hibernate.impl.SessionImpl.get(
    at org.hibernate.impl.SessionImpl.get(
    at com.concretepage.util.HibernateUtil.main(

Replied on May 11, 2013
Check  hibernate.cfg.xml,  entity you have configured is not available or you have misspelled.  

Write Answer

©2024 | Privacy Policy | Contact Us