Oracle Error ORA-38438: getVarchar not possible due to “string” datatype in the attribute set

Oracle Error Message

ORA-38438: getVarchar not possible due to “string” datatype in the attribute set

Reason for the Error

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

Solution

Use AnyData conversion to encode the data item.