My Oracle Support Banner

Error In JSON_OBJECT_T.PUT Method In Oracle 19.0.0 (Doc ID 2494232.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 19.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to

CREATE OR REPLACE PROCEDURE dummy IS
  json_msg_ JSON_OBJECT_T;
  name_ CLOB;
  value_ CLOB;
BEGIN
  json_msg_ := JSON_OBJECT_T('{}');
  json_msg_.put(name_, value_);
END;
/

the following error occurs.

ERROR
-----------------------
SQL> CREATE OR REPLACE PROCEDURE dummy IS
  2 json_msg_ JSON_OBJECT_T;
  3 name_ CLOB;
  4 value_ CLOB;
  5 BEGIN
  6 json_msg_ := JSON_OBJECT_T('{}');
  7 json_msg_.put(name_, value_);
  8 END;
  9 /

Warning: Procedure created with compilation errors.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.