aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Could not parse mapping document from resource PojoTestTable.hbm.xml
 
Similar Threads
Hibernate not inserting new record on SQL Server
hibernate migration
Hibernate
Join using HQL
Need help mapping Hibernate with Netbeans