#35054 closed Bug (fixed)
Add support for oracledb 2.0.
Description ¶
The Oracle back-end doesn't work with oracledb==2.0.0, because it changed converters for JSONField
and now returns dict
instead of str
:
"Added support for fetching
VARCHAR2
andLOB
columns which containJSON
(and have theIS JSON
check constraint enabled) in the same way as columns of typeJSON
(which requires Oracle Database 21c or higher) are fetched. In thick mode this requires Oracle Client 19c or higher. The attributeoracledb.__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 Christopher's article.
Change History (5)
comment:1 by , 15 months ago
Cc: | added |
---|---|
Keywords: | oracle python-oracledb added |
comment:2 by , 15 months ago
Has patch: | set |
---|
comment:3 by , 15 months ago
Triage Stage: | Unreviewed → Accepted |
---|
PR