Home  >  Forum  >  Hibernate
Post New Query

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(SessionFactoryImpl.java:704)
    at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:92)
    at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1080)
    at org.hibernate.impl.SessionImpl.get(SessionImpl.java:997)
    at org.hibernate.impl.SessionImpl.get(SessionImpl.java:990)
    at com.concretepage.util.HibernateUtil.main(HibernateUtil.java:29)




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

Write Answer




©2019 concretepage.com | Privacy Policy | Contact Us