Page 1 of 1

JDBC-Connector issues

Posted: Thu Feb 22, 2018 10:33 am
by Asfare
Hi, I'm new in DS job developmen and I triying to create a new job composed by:
CDC_Transaction->Transformer->JDBC_Connector
I test my results updating, inserting and deleting but, I have problems if I try to do a "Delete then Insert" operation.
My job crash because "I did'tn refer all my columns in the statemen"

My question is:
How I can directly refer a specific column in my job?

many thanks

Posted: Thu Feb 22, 2018 5:08 pm
by rkashyap
What is value of "Drop unmatched fields" in the JDBC stage properties?

Posted: Mon Feb 26, 2018 3:01 am
by Asfare
The value is set to NO.
I understand that the field should be worth YES, but I still don't know how to correlate the information I get with the specific columns I want to write.

Posted: Mon Feb 26, 2018 6:14 pm
by rkashyap
You can see the SQL statement performing Delete and subsequent Insert in DataStage Director. Confirm that ALL columns that the connector can be paired with the target table.

Posted: Tue Feb 27, 2018 5:37 am
by Asfare
Hi!

I'm performing test of my issues and it's failing again.

How i pair the columns in JDBC_Connector?

Thanks

Posted: Mon Mar 12, 2018 11:06 am
by Asfare
So...
Can anyone helping please?

Many thanks!

Posted: Tue Mar 13, 2018 10:24 pm
by ray.wurlod
The Delete operation requires at least one column to be marked as Key. If this is being done in SQL, the Key columns are used in the WHERE clause.