Oracle 21c JSON datatype

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jdorlon
Posts: 202
Joined: Fri 05 Jan 2007 22:07

Oracle 21c JSON datatype

Post by jdorlon » Mon 13 Sep 2021 17:53

Hello,

In this post viewtopic.php?f=5&t=44289 I mentioned that a customer was receiving an error with the JSON datatype under 21c. To give an update on that, I have just downloaded 21c from Oracle and I don't get any error. So maybe the problem was only with 20c.

However, in 21c, with ODAC, when looking at the TFieldDesc for a JSON column, it looks exactly like a BLOB column. Am I missing anything? If not, can you make a new SubDataType value for JSON columns? I need to be able to distinguish JSON from ordinary BLOB datatypes.

Thank you

John Dorlon

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Oracle 21c JSON datatype

Post by MaximG » Tue 21 Sep 2021 12:11

Hi John!

Thank you for your request!
Please note that we just started to explore the use of JSON fields introduced in Oracle 21c.

jdorlon
Posts: 202
Joined: Fri 05 Jan 2007 22:07

Re: Oracle 21c JSON datatype

Post by jdorlon » Fri 01 Oct 2021 14:38

If you could come up with a way to provide it as CLOB, that would be ideal. Then we'd be able to edit the data in a smartquery result.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Oracle 21c JSON datatype

Post by MaximG » Mon 04 Oct 2021 07:49

Hi John! Thank you for your reply! We took into account your suggestion and will try to implement work with JSON fields in the most convenient way !

Post Reply