Joined: Wed Dec 03, 2008 8:05 am Posts: 11
|
Hi,
I am facing a problem at runtime .
I have a column say Docu_ID from master table .
This Column I would like to declare another hbm.xml file.
but at runtime I am getting :
THIS_. Docu_Id is not identifier.
After investigating I found that DOcu_ID in master.hbm.xml is declared under masterPk .
ex:
<composite-id name="comp_id" class="com.drww.MasterPK">
<key-property name="docuId" column="DOCU_ID" type="java.lang.Long" length="8" />
.
.
.
</composite-id>
In my userPerm.hbm.xml I would like to call DocuId.
<many-to-one
name="doc"
class="com.drww.DocMaster"
update="false"
insert="false"
>
<column name="DOCU_Id" />
</many-to-one>
Can any one help me plzzzzzzzzzzzz?
|
|