summaryrefslogtreecommitdiff
path: root/django/db/backends/oracle/features.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/backends/oracle/features.py')
-rw-r--r--django/db/backends/oracle/features.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/django/db/backends/oracle/features.py b/django/db/backends/oracle/features.py
index 05dc552a98..2ef9e4300c 100644
--- a/django/db/backends/oracle/features.py
+++ b/django/db/backends/oracle/features.py
@@ -32,6 +32,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
atomic_transactions = False
nulls_order_largest = True
requires_literal_defaults = True
+ supports_default_keyword_in_bulk_insert = False
closed_cursor_error_class = InterfaceError
bare_select_suffix = " FROM DUAL"
# Select for update with limit can be achieved on Oracle, but not with the
@@ -130,6 +131,9 @@ class DatabaseFeatures(BaseDatabaseFeatures):
"annotations.tests.NonAggregateAnnotationTestCase."
"test_custom_functions_can_ref_other_functions",
}
+ insert_test_table_with_defaults = (
+ "INSERT INTO {} VALUES (DEFAULT, DEFAULT, DEFAULT)"
+ )
@cached_property
def introspected_field_types(self):