Hi!
I'll try to describe my situation first:
I heed to transfer data from an old database (DB) into an ArcSDE-DB (based on Oracle). In this old DB, I have feature classes (FC) that have many-to-many relations with each other. These relationships, however, are stored in a single FC in the following way: 'Origin_FID | Origin_FC | Destination_FID | Destination_FC'. I transferred the FCs into the ArcSDE-DB, enabled archiving and created N:M-relationship classes (RC). By using FME, I want to write the relationships from the FC in the old DB (filtered according to the respective FCs) into the RC of the new DB.
The data and relationships have to be written not only als an initial, "complete" load, but also regularly in the form of incremental updates.
My actual problems:
On this FME-page, I've found a way to write data into relationship classes. Unfortunately, according to this tutorial, the ObjectID (in the form of geodb_rel_origin/destination_oid) must be present. In my case, however, I have a FC containing only the featureIDs (FID) of the correspnding objects. To get the ObjectID, I need to import the corresponding FCs as readers and use the FeatureMerger to join the ObjectID. Since my relations are not based on the ObjectIDs but the featureIDs, this information shouldn't be necessary.
Question 1: Isn't there a solution, that allows me to write the FID-values directly into the RC (without having to use the ObjectID)?
Question 2: And do I have to activate the parameter 'message_direction' or anything, so that the entry in the (archived) N:M-relationship class is updated, when one of the objects in an associated FC is deleted via FME (writer mode: DELETE)? Or more generally: How do I get the archiving working for the N:M-relationship class for incremental updates?
Greetings,
André