I need to generate SQL insert statement using JSON data (key-value pairs) and execute the INSERT SQL statement to write to DB2. I am using processors ConvertJSONtoSQL and PutSQL in NiFi. My PutSQL is throwing error.
PutSQL Configuration:
I am getting output flow file like this.
INSERT INTO TEST_TABLE (COL1, COL2, COL3) VALUES (?, ?, ?)
Are the question marks expected? I am getting error in the PutSQL processor.

