Skip to main content
Solved

Need help to use a Dynamic writer in UPDATE MODE


Hi,

 

 

I want to use a Dynamic ORACLE SPATIAL writer in UPDATE MODE.

 

But when i try to update a row through this, two extra attributes 'ORIENTATION' and 'TEXTSTRING' appends in the query so that when i run the workbench oracle throws an 'invalid identifier' exception and the process stops.

 

 

Can anyone tell me how to use a writer dynamically to update a row in oracle spatial  database. Thanks in advance.

Best answer by fmelizard

Hi,

 

I have encoutered this before, in the writer properties you can define attributes to be removed, see general tab>dynamic properties>schema definition>attributes to remove.

 

Hope this helps.
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • June 3, 2013
Hi,

 

 

I suppose the error reason is the lack of these two columns in the table definition. If so, you need to add the columns to the table before updating.

 

Takashi

  • Author
  • June 3, 2013
But those two columns are neither present in source schema nor created in transformation.

 

I also tried using the same workbench with STATIC Writer. In this case the update works fine.

 

This problem comes only when i use Dynamic Writer+Schema Mapper.

 

Due to some restrictions I can't create a new column in my destination. Is there any way around?

david_r
Evangelist
  • June 3, 2013
Hi,

 

 

what happens if you insert an AttributeExposer with ORIENTATION and TEXTSTRING, followed by an AttributeRemover for these two attributes?

 

 

That should prevent these two attributes from ever getting to the writer.

 

 

David

  • Author
  • June 3, 2013
Hi David,

 

 

I tried your solution but the problem is still the same. I am getting the same error.

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • June 3, 2013
Hi,

 

I have encoutered this before, in the writer properties you can define attributes to be removed, see general tab>dynamic properties>schema definition>attributes to remove.

 

Hope this helps.

  • Author
  • June 5, 2013
Hi Itay,

 

Thanks for the reply. This Solution works.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings