• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic