Hi All,
I have table A ,Table B and Table C
table B and Table C has parent and children association .
where as Table A does not have any assocition with reamining table .
here my issue is I have a column "DOC_ID" in table A stores Table B's primary Key .
I would like to get some name from the table C by refering Table A's Doc_ID .
I am using <seT> in the TAble A's hbm.xml
like
<Set name='...'>
<key column ="..">
<one-many..../>
</set>
It always trying to refer Table A's primary key....
How can I achieve ???????????????????????????
Can any one suggest me plzzzz....
|