A Query Using a JSON Operator such as JSON_OBJECT Fails with ORA-22921, if the DB Character Set is Not Fixed-width and a CLOB is Returned
(Doc ID 2874583.1)
Last updated on APRIL 17, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
On 19c, a JSON_OBJECT query fails with the following error if the database character set is not fixed-width, such as AL32UTF8, and a CLOB is returned:
ORA-22921: length of input buffer is smaller than amount requested
Example query:
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 |
Cause |
Solution |
References |