summaryrefslogtreecommitdiff
path: root/django/db/backends/oracle/utils.py
AgeCommit message (Collapse)Author
2025-10-11Fixed #36646 -- Added compatibility for oracledb 3.4.0.Simon Charette
The Database.Binary, Date, and Timestamp attributes were changed from aliases to bytes, datetime.date, and datetime.datetime to factory functions in oracle/python-oracledb@869a887819cdac7fcd610f9d9d463ade49ea7 which made their usage inadequate for isinstance checks. Thanks John Wagenleitner for the report and Natalia for the triage. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2025-08-28Refs #27222 -- Adapted RETURNING handling to be usable for UPDATE queries.Simon Charette
Renamed existing methods and abstractions used for INSERT … RETURNING to be generic enough to be used in the context of UPDATEs as well. This also consolidates SQL compliant implementations on BaseDatabaseOperations.
2023-12-12Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField ↵Mariusz Felisiak
as output_field on Oracle < 23c. Thanks Václav Řehák for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
2023-12-06Replaced deprecated database type synonyms in Oracle backend.Mariusz Felisiak
2023-11-03Fixed #34941 -- Fixed fetching decimal db_defaults for DecimalFields on Oracle.Mariusz Felisiak
This is a long standing bug in bc91f27a86090b4c688b56cd4e37f95eebe6e969 that began manifesting in 7414704e88d73dafbcfbb85f9bc54cb6111439d3.
2023-08-10Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle.Jingbei Li
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-12-03Fixed #33339 -- Made QuerySet.bulk_create() use TO_NCLOB() for TextFields on ↵Georgi Yanchev
Oracle.
2021-01-14Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak
2020-10-29Refs #32061 -- Unified DatabaseClient.runshell() in db backends.Simon Charette
2020-02-28Fixed #31301 -- Fixed crash of QuerySet.bulk_create() with mixed empty and ↵Hans Aarne Liblik
set ForeignKeys to AutoFields on Oracle.
2019-11-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-10-01Fixed typo in BulkInsertMapper constant name.Mariusz Felisiak
2019-10-01Fixed #30510 -- Fixed crash of QuerySet.bulk_create() with mixed-length ↵Ahmet Kucuk
texts on Oracle. Text with more than 4000 characters must be set to as a CLOB on Oracle what caused a mixed datatype error (ORA-01790) when shorter text appeared in the same operation.
2019-09-24Fixed #29444 -- Allowed returning multiple fields from INSERT statements on ↵Johannes Hoppe
Oracle.
2019-09-09Refs #29444 -- Fixed DateField constructor in ↵Johannes Hoppe
db.backends.oracle.utils.InsertVar.
2019-09-03Refs #29444 -- Made db.backends.oracle.utils.InsertVar use str as default.Johannes Hoppe
2019-07-08Refs #29444 -- Added support for fetching a returned non-integer insert ↵Johannes Hoppe
values on Oracle. This is currently not actively used, since the ORM will ask the SQL compiler to only return auto fields.
2019-02-04Refs #28859 -- Simplified fetch_returned_insert_id() by using int data type ↵Mariusz Felisiak
for binding variable on Oracle.
2018-03-20Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
2017-02-09Fixed #22669 -- Fixed QuerySet.bulk_create() with empty model fields on Oracle.Mikhail Nacharov
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2016-12-29Fixed #27649 -- Bumped required cx_Oracle to 5.2.Tim Graham
Removed obsolete workarounds from 1aa48898085ea16915877cc139e238a74e3f554b and dcf3be7a621f011a918453527406216a738acf68.
2015-01-14Fixed #22603 -- Reorganized classes in django.db.backends.Tim Graham