• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Could not parse mapping document from resource com/hib/Unit.hbm.xml

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!

I had created 3 pojo classes and 3 mapping files.

District.java
Unit.java
and Missing.java

District.hbm.xml
Unit.hbm.xml
Missing.hbm.xml

The primary key of District table is one of the composite primary keys in Unit table and Missing table.
Also primary key of Unit table is one of the composite primary keys in Missing table.

i am getting an error like ::org.hibernate.InvalidMappingException: Could not parse mapping document from resource com/hib/Unit.hbm.xml











Can you help me to avoid the error.....?
 
reply
    Bookmark Topic Watch Topic
  • New Topic