Home  >  Forum  >  Hibernate
Post New Query

org.hibernate.MappingException: Unknown entity


joined on
April 23,2013
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)

joined on
May 11,2013
Replied on May 11,2013

Check  hibernate.cfg.xml,  entity you have configured is not available or you have misspelled.  

Write Answer



Sitewide-Feb4of4234x60





Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us