no, both mapping file are not connected. Below is the 2nd table, How can we map both table so we can do the query.
<?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" /> <property name="DAYEND_DATE" column="DAYEND_DATE" access="field.pascalcase-underscore" /> </class> </hibernate-mapping>
|