wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Could not parse mapping document from resource PojoTestTable.hbm.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Could not parse mapping document from resource PojoTestTable.hbm.xml" Watch "Could not parse mapping document from resource PojoTestTable.hbm.xml" New topic
Author

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

pankaj saha
Greenhorn

Joined: Dec 24, 2011
Posts: 1

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
 
 
subject: Could not parse mapping document from resource PojoTestTable.hbm.xml
 
Similar Threads
Need help mapping Hibernate with Netbeans
Join using HQL
Hibernate
Hibernate not inserting new record on SQL Server
hibernate migration