For a client we are working on a large fme workbench which has to insert data in multiple oracle tables which are related with several foreign keys.
In earlier versions we got a lot of 'parent key not found' errors while running, so we put writing of parent tables in separate writers so they would be executed first, and that would solve that problem.
The problem now is that the system also has Oracle Rule Framework to guard several business rules on the database. Rule Framework will test these rules on every commit to check if all rules are met, if not it will rollback everything.
This leaves us with a problem since our separate writers will each commit when finished and than our rules are not all met and everything will be rollbacked. So to comply with the rules all feature types should be written by only one writer and be committed only ones. But than we have the first problem with our foreign keys again.
Removing the foreign keys, even temporary, is not an option for our customer.
Does anyone have a solution for this problem?
Regards,
Koen