﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29759	Add support for cx_Oracle 7	Mariusz Felisiak	Mariusz Felisiak	"The Oracle back-end doesn't work with `cx_Oracle=7.0.0`, example exception
{{{
File ""django/db/backends/oracle/operations.py"", line 229, in fetch_returned_insert_id
    return int(cursor._insert_id_var.getvalue())
TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'
}}}

It is caused by a following change:

`14. When a DML returning statement is executed, variables bound to it will return an array when calling Variable.getvalue(). Attempts to set cx_Oracle.__future__.dml_ret_array_val are now ignored.`

(see [https://cx-oracle.readthedocs.io/en/latest/releasenotes.html cx_Oracle 7 release notes])."	Bug	closed	Database layer (models, ORM)	2.1	Normal	fixed	Oracle		Ready for checkin	1	0	0	0	0	0
