• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not parse mapping document from resource PojoTestTable.hbm.xml

 
pankaj saha
Greenhorn
Posts: 1
Hibernate Java MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic