Oracle Error Message
OCI-19211: column ‘string’, specified as key using DBMS_XMLSTORE.setKeyColumn() , must be of scalar type
Reason for the Error
The column specified using setKeyColumn() was a non-scalar type column.
Solution
Change the column specified to be a scalar column in the table