Hi,
I am trying to export the data using SSIS from an oracle 11g DB table to a postgres DB table which has a Jsonb column. In "advanced editor" of source OLEDB component, I have changed the data type of that column as 'DT_NEXT' (Unicode Text Stream) from 'DT_WSTR' (Unicode string). while trying to execute the task, I am getting the error as below
"[TARGET TABLE (JSON_TABLE) [54]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Intellisoft OLE DB Provider for PostgreSQL" Hresult: 0x80004005 Description: "ERROR: column "JSON_COLUMN" is of type jsonb but expression is of type character varying
LINE 1: ...ct_JSON_COLUMN") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9)
^
HINT: You will need to rewrite or cast the expression.".
Can anyone please let me know the equivalent data type of jsonb in SSIS as I am unable to find Jsonb datatype in SSIS