My Oracle Support Banner

ORA-40499 Trying To Use BLOB For JSON (Doc ID 2413224.1)

Last updated on APRIL 12, 2022

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : 12.1.0.2 version, XML Database

When attempting to create a JSON table on BLOB column
the following error occurs.

ERROR
-----------------------
CREATE TABLE t(json BLOB);

Table T created.

Error starting at line : 3 in command -
ALTER TABLE t ADD CONSTRAINT ensure_json CHECK (json IS JSON STRICT)
Error report -
ORA-40499: no format defined for binary data type
40499. 00000 - "no format defined for binary data type"
*Cause: The provided JSON input was of binary type but a format was not defined.
*Action: Define a format for binary input.

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.