Oracle Solution for Error ora-38438

Solution for Oracle Error ORA-38438

ORA-38438: getVarchar not possible due to "string

" datatype in the attribute set

What triggered the Error:

An attempt was made to use the getVarchar API when the attribute set has one or more non-scalar types.

What should we do to fix it:

Use AnyData conversion to encode the data item.