We are seeing the below values when we dump the STRUCT object from the application using Oracle 19c Database. The values for the field "PREFERENCE_KEY" and "PREFERENCE_VALUE" is not getting mapped properly. Could someone please suggest how to fix this issue?
Struct Values: name = TYPE_PREFERENCE_ITEM
length = 5
PREF_ITEM_ID = 5802463
P_ID = 63035
PREFERENCE_KEY = ???
PREFERENCE_VALUE = ???
PARENT_PREF_ID = 0
Code snippet:
StructDescriptor sdesc = StructDescriptor.createDescriptor(
this.structName, wrappedConnection);
STRUCT[] structList = new STRUCT[data.size()];
int count = 0;
for (Map<String, Object> param : data) {
STRUCT struct = new STRUCT(sdesc, wrappedConnection, param);
structList[count++] = struct;
System.out.println("structList - "+count+ " : " + struct.dump());
}
ArrayDescriptor desc = new ArrayDescriptor(typeName, wrappedConnection);
return new ARRAY(desc, wrappedConnection, structList);