soup |
Newbie |
|
|
|
|
None Specified |
|
Friday, December 7, 2018 |
Monday, December 10, 2018 10:15:24 AM |
1 [0.01% of all post / 0.00 posts per day] |
|
Hi,
I am trying to map data from xml to postgres database. The database has a few link tables that resolve many-to-many relationship.
As an example, I use person and address tables with many-to-many relationship and then there is person_address bridge table with only two columns: personId(FK) and addressId(FK). Both personId and addressId are auto-generated by the database (or I can use max()+1 to fill it from mapforce).
If there was only one foreign key in the table then I would have resolved it by defining relationships in mapforce but I am a bit lost here in this case. I want to know how can I populate multiple foreign keys in a table coming from more than one tables?
Also all the relationships between the objects are defined in the xsd and once the data gets into the database I have no relationship track anymore.
Thanks in advance.
|
|