Advertisement

05.27.2008 at 12:01PM PDT, ID: 23435935
[x]
Attachment Details

Could not parse mapping document from resource

Asked by komlaaa in Java Programming Language

Have been using hibernate lately?...
why i might be getting this error message when running my web appl. developped using Hibernate?
ERROR MESSAGE:
Could not parse mapping document MY.HIBERNATE.MAPPING.FILE  from resource

Please see attachment of my tables and the mapping file belowStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN"
 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping> 
        <class name="domain.Admin" table="ADMIN" lazy="false">
                <id name="id" column="ID"/>
        <property name="email" column="EMAIL"/> 
        <property name="password" column="PASSWORD"/> 
        </class>
 
  <class name="domain.Customer" table="CUSTOMER" lazy="false"> 
    <id name="id" column="ID"/> 
    <property name="firstName" column="FIRST_NAME"/> 
    <property name="lastName" column="LAST_NAME"/> 
    <property name="emailAddress" column="EMAIL_ADDRESS"/> 
  </class> 
 
  <class name="domain.Order" table="ORDERS" lazy="false"> 
    <id name="id" column="ID"/> 
    <property name="custId" column="CUST_ID"/> 
    <property name="datePlaced" column="DATE_PLACED"/> 
    <property name="orderAmount" column="AMOUNT"/> 
    <property name="orderName" column="ORDER_NAME"/> 
  </class> 
</hibernate-mapping>
Attachments:
 
Tables macthiing the hibernate.apping.file
 
 
Loading Advertisement...
 
[+][-]05.27.2008 at 12:46PM PDT, ID: 21654990

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.27.2008 at 09:19PM PDT, ID: 21657621

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 12:22AM PDT, ID: 21658356

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 12:30AM PDT, ID: 21658388

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Sign Up Now!
Solution Provided By: CEHJ
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.28.2008 at 07:17AM PDT, ID: 21660604

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.28.2008 at 08:02AM PDT, ID: 21661037

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.01.2008 at 01:01PM PDT, ID: 21688247

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628