> ''"Added support for fetching `VARCHAR2` and `LOB` columns which contain
`JSON` (and have the `IS JSON` check constraint enabled) in the same way
as columns of type `JSON` (which requires Oracle Database 21c or higher)
are fetched. In thick mode this requires Oracle Client 19c or higher. The
attribute `oracledb.__future__.old_json_col_as_obj` must be set to the
value True for this behavior to occur. In version 2.0 this will become the
normal behavior and setting this attribute will no longer be needed."''
Check out [https://cjones-oracle.medium.com/python-oracledb-2-0-has-
asyncio-support-2b913e40f9ca Christopher's article].
--
Ticket URL: <https://code.djangoproject.com/ticket/35054>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: Christopher Jones (added)
* keywords: => oracle python-oracledb
--
Ticket URL: <https://code.djangoproject.com/ticket/35054#comment:1>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/17630 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/35054#comment:2>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/35054#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"6c08dba5176606e8a62dd108bb6c9467d678d2f4" 6c08dba]:
{{{
#!CommitTicketReference repository=""
revision="6c08dba5176606e8a62dd108bb6c9467d678d2f4"
Fixed #35054 -- Fixed crash on Oracle when fetching JSONFields with
oracledb 2.0.0.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35054#comment:4>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"42c31f867fa75d52bbbb4b39478f982fbe010ae1" 42c31f86]:
{{{
#!CommitTicketReference repository=""
revision="42c31f867fa75d52bbbb4b39478f982fbe010ae1"
[5.0.x] Fixed #35054 -- Fixed crash on Oracle when fetching JSONFields
with oracledb 2.0.0.
Backport of 6c08dba5176606e8a62dd108bb6c9467d678d2f4 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35054#comment:5>