-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Could not compile the mapping document
PostPosted: Thu May 28, 2009 9:53 pm 
Newbie

Joined: Fri Mar 20, 2009 4:19 am
Posts: 11
Hi,

I am getting error message Could not compile the mapping document, below is mapping document. Before connecting the both table it was working fine.

<?xml version="1.0" encoding="utf-8" ?>
<!-- Generated by MoreGen 5-Feb-2009 02:28:36 -->
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" schema="tm_dev" default-cascade="save-update" auto-import="true">
<class name="CSTS.Main.CashPosting, CSTS.Main" lazy="true" table="CSTS_T_CASH_POSTING">
<id name="Cash_Cd" type="double" column="CASH_CD" access="field.pascalcase-underscore">
<generator class="assigned" />
</id>
<property name="Acct_Cd" column="ACCT_CD" access="field.pascalcase-underscore" />
<property name="Agent_Cd" column="AGENT_CD" access="field.pascalcase-underscore" />
<property name="Amount" column="AMOUNT" access="field.pascalcase-underscore" />
<property name="Checker_User" column="CHECKER_USER" access="field.pascalcase-underscore" />
<property name="Crrncy_Cd" column="CRRNCY_CD" access="field.pascalcase-underscore" />
<property name="Est_Conf" column="EST_CONF" access="field.pascalcase-underscore" />
<property name="Last_Upd_Date" column="LAST_UPD_DATE" access="field.pascalcase-underscore" />
<property name="Last_Upd_User" column="LAST_UPD_USER" access="field.pascalcase-underscore" />


<many-to-one name="CSTS.Main.FundGroup" column="Acct_Cd" class="CSTS.Main.FundGroup" />


</class>
</hibernate-mapping>




<?xml version="1.0" encoding="utf-8" ?>
<!-- Generated by MoreGen 29-Jan-2009 12:20:37 -->
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" schema="tm_dev" default-cascade="save-update" auto-import="true" >
<class name="CSTS.Main.FundGroup, CSTS.Main" lazy="true" table="CSTS_M_FUNDGROUP">
<id name="Acct_Grp_Cd" type="string" column="ACCT_GRP_CD" access="field.pascalcase-underscore">
<generator class="assigned" />
</id>
<property name="Acct_Grp_Name" column="ACCT_GRP_NAME" access="field.pascalcase-underscore" />
<property name="Acct_Cd" column="ACCT_CD" access="field.pascalcase-underscore" />
<bag name="CSTS_T_CASH_POSTING" inverse="true">
<key column="Acct_Cd" />
<one-to-many class="CSTS.Main.CashPosting" />
</bag>

</class>
</hibernate-mapping>


Top
 Profile  
 
 Post subject: Re: Could not compile the mapping document
PostPosted: Mon Jun 01, 2009 7:12 am 
Hi viki_singh,

Could you put the error message, please?

[]s


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.