The workspace ran and said 5 or so number of records were inserted but when I checked the feature class table, no records were inserted. What confused me is if I also have a fme_db_operation = UPDATE to the same table in the workspace, then both the UPDATE and INSERT works fine but not when I only do the INSERT alone.
The workspace ran and said 5 or so number of records were inserted but when I checked the feature class table, no records were inserted. What confused me is if I also have a fme_db_operation = UPDATE to the same table in the workspace, then both the UPDATE and INSERT works fine but not when I only do the INSERT alone.
Interesting! Are you writing to an existing table then? Can you attach your log file?
Hi Erik, I added the writer as INSERT (writer Mode = Insert under writer parameter) and one stream to the writer is to insert records. From another stream I set fme_db_operation = UPDATE and send to the same writer which will do update on existing records. I've done this on other project with point and line features and it worked fine but this is the first time for polygons.
Hi Erik, I added the writer as INSERT (writer Mode = Insert under writer parameter) and one stream to the writer is to insert records. From another stream I set fme_db_operation = UPDATE and send to the same writer which will do update on existing records. I've done this on other project with point and line features and it worked fine but this is the first time for polygons.
Hi Erik, I added the writer as INSERT (writer Mode = Insert under writer parameter) and one stream to the writer is to insert records. From another stream I set fme_db_operation = UPDATE and send to the same writer which will do update on existing records. I've done this on other project with point and line features and it worked fine but this is the first time for polygons.
Erik, there is no error in the INSERT (failed Insert) log file. It says 9 records were written but nothing was inserted into the feature class table.
Hi Erik, I added the writer as INSERT (writer Mode = Insert under writer parameter) and one stream to the writer is to insert records. From another stream I set fme_db_operation = UPDATE and send to the same writer which will do update on existing records. I've done this on other project with point and line features and it worked fine but this is the first time for polygons.
Looks like someone has to have a close look at the workspace and the log file.
I suggest submitting them to Support@Safe.com or attaching them to this question thread.
I believe we mentioned all options that can be mentioned without further investigation.
Hi Erik, I added the writer as INSERT (writer Mode = Insert under writer parameter) and one stream to the writer is to insert records. From another stream I set fme_db_operation = UPDATE and send to the same writer which will do update on existing records. I've done this on other project with point and line features and it worked fine but this is the first time for polygons.
The reader and writer read and write to an ersi sde version, I am not sure how to send you that part of the workspace. Please let me know. Thanks.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.