Beginner |
|
Joined: Wed Dec 14, 2005 10:32 am Posts: 20
|
Hi All,
I have been trying to figure out how to acheive this for a while now and could not figure out.
Any help is greatly appreciated.
I have create a class say 'Account' having attributes of all the columns of the table 'account'.
My question is how do I add another property say 'itemNo' in the class 'Account' whose value should be coming from a different table's column 'ITEM_NO' from table 'item'. Table 'account' and 'item' have a foriegn-key relationship on the column 'ACCOUNT_ID'.
Thanks in advance.
-Jam
|
|