summaryrefslogtreecommitdiff
path: root/tests/backends/oracle
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #33379 -- Added minimum database version checks.Hasan Ramezani2022-02-181-3/+15
| | | | Thanks Tim Graham for the review.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-3/+3
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-074-67/+97
|
* Removed obsolete Oracle's test_client_encoding() test.Mariusz Felisiak2021-12-301-6/+0
| | | | | encoding and nencoding parameters were deprecated in cx_Oracle 8.2. Moreover, encoding is handled internally between cx_Oracle and Oracle Database and there is no need to test it.
* Fixed #32653 -- Made quoting names in the Oracle backend consistent with ↵Mariusz Felisiak2021-04-301-1/+10
| | | | db_table.
* Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak2021-01-141-2/+2
|
* Refs #32061 -- Unified DatabaseClient.runshell() in db backends.Simon Charette2020-10-291-1/+4
|
* Fixed backends.oracle.test_operations.Mariusz Felisiak2020-04-211-1/+3
| | | | | | | Using unittest.TestCase doesn't work properly when we perform db queries. Moreover introspection is extremely slow on Oracle without limiting models to a "backends" app. Follow up to 8bcca47e8356521f52f0738d9633befd53007cae.
* Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵Jon Dufresne2020-04-171-24/+5
| | | | | | | | | | | | PostgreSQL. The sql_flush() positional argument sequences is replaced by the boolean keyword-only argument reset_sequences. This ensures that the old function signature can't be used by mistake when upgrading Django. When the new argument is True, the sequences of the truncated tables will reset. Using a single boolean value, rather than a list, allows making a binary yes/no choice as to whether to reset all sequences rather than a working on a completely different set.
* Added test coverage for DatabaseOperations.sql_flush().Jon Dufresne2020-04-171-0/+133
|
* Fixed backends tests on Oracle.Mariusz Felisiak2020-02-241-8/+8
| | | | | | | Using Person in test_introspection caused removing constraints in intermediate table for ManyToManyField in VeryLongModelNameZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ that were expected by other transaction tests. A model without any constraints was used to prevent isolation issues.
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-042-5/+3
|
* Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵Johannes Hoppe2019-09-091-22/+1
| | | | | | | PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews.
* Refs #29444 -- Added support for fetching a returned non-integer insert ↵Johannes Hoppe2019-07-081-1/+22
| | | | | | | values on Oracle. This is currently not actively used, since the ORM will ask the SQL compiler to only return auto fields.
* Fixed #30307 -- Fixed incorrect quoting of database user password when using ↵msg2019-04-041-1/+1
| | | | | | dbshell on Oracle. Regression in acfc650f2a6e4a79e80237eabfa923ea3a05d709.
* Simplified test_cursor_var() by using str instead of Database.STRING.Mariusz Felisiak2019-02-121-2/+1
|
* Fixed #29788 -- Added support for Oracle Managed File (OMF) tablespaces.Mariusz Felisiak2018-11-131-0/+19
|
* Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham2018-03-201-1/+1
| | | | Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
* Fixed #29199 -- Fixed crash when database user password contains @ sign on ↵Mariusz Felisiak2018-03-131-1/+14
| | | | | Oracle. Thanks Shane Allgeier for the report and Tim Graham for the review.
* Refs #11487 -- Removed redundant test_long_string() test.Mariusz Felisiak2018-01-231-11/+0
| | | | Redundant with model_regress.tests.ModelTests.test_long_textfield since 3ede430b9a94e3c2aed64d2cf898920635bdf4ae.
* Fixed #28859 -- Made Oracle backend raise DatabaseError if "no data found" ↵Mariusz Felisiak2018-01-061-0/+33
| | | | | exception is hidden by the Oracle OCI library. Thanks Tim Graham for the review and Jani Tiainen for the report.
* Fixed #28596 -- Fixed QuerySet.bulk_create() and cascade deletion crash on ↵Mariusz Felisiak2017-10-051-0/+14
| | | | | Oracle when using more than 65535 parameters. Thanks Tim Graham for the review.
* Refs #27090 -- Added real database sequence introspection.Mariusz Felisiak2017-09-131-0/+29
| | | | Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review.
* Added tests for BooleanField/NullBooleanField's check constraints on Oracle.Mariusz Felisiak2017-09-051-0/+8
|
* Fixed #28451 -- Restored pre-Django 1.11 Oracle sequence/trigger naming.Kevin Grinberg2017-08-221-0/+11
| | | | Regression in 69b7d4b116e3b70b250c77829e11038d5d55c2a8.
* Reorganized backends tests.Mariusz Felisiak2017-06-213-0/+131