Joined: Mon Jun 23, 2008 4:25 am Posts: 3 Location: Sri Lanka
|
Hi all,
I have designed database with five tables. the fifth table contains all the primary keys of the first for tables as foreign keys.
Sample Structure
First Table
First_Id(Primary Key)
First_Name
Second Table
Second_Id(Primary Key)
Second_Name
Third Table
Third_Id(Primary Key)
Third_Name
Forth Table
Forth_Id(Primary Key)
Forth_Name
Fifth Table
First_Id(Foreign)
Second_Id(Foreign)
Third_Id(Foreign)
Forth_Id(Foreign)
Data
OtherFields
i have wrote all the mapping files for the first four tables. But with the foreign keys it gives errors. can u guys have a idea of how to write a mapping file for the fifth table?
Thanks
|
|