Oracle Solution for Error ora-19211

Solution for Oracle Error ORA-19211

ORA-19211: column 'string', specified as key using DBMS_XMLSTORE.setKeyColumn() , must be of scalar type

What triggered the Error:

e column specified using setKeyColumn() was a non-scalar type column.

What should we do to fix it:

ange the column specified to be a scalar column in the table