Insert Json array into table using jdbc producer

asked 2018-12-14 05:15:53 -0600

piyushss24 gravatar image

I have a simple pipeline where i receive json array of records and trying to insert in mssql table using 'jdbc producer'. I have not configured field to column mapping in 'jdbc producer' When using single json record array eg:'{"id":156,"name":"a"}' it inserts fine but doesn't seem to work with array of json records eg:'[{"id":156,"name":"a"},{"id":157,"name":"b"}]' Also can see in log following message 'No parameters found for record with ID' Category : 'JdbcMultiRowRecordWriter'

edit retag flag offensive close merge delete