Add support for oracledb 2.0.
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
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 Christopher's article.
Change History
(5)
Cc: |
Christopher Jones added
|
Keywords: |
oracle python-oracledb added
|
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
PR