• 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 PojoTestTable.hbm.xml

 
Greenhorn
Posts: 1
Hibernate MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all
though i have seen same issue posted here with same heading, but still feel my case is different
i am doing a sample hibernate insert/select application.
below is my Table description:


POJO class being used for the table is PojoTestTable

hibernate.cfg.xml:


PojoTestTable.hbm.xml



Problem is i am able to insert data with no issue.
But while trying to select all ro from the table its saying the error"Could not parse mapping document from resource PojoTestTable.hbm.xml"

Below is the code being used for fetching all rows of data from table:

It will be a great help if any one please let me know where i am doing wrong.
I am using
DB:mysql 5.x
JDK:7.x
Tomcat:7.x

Thanks
Pankaj
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic