﻿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
15994	db VariableWrapper not compatible with cursor.callproc	mischko	nobody	"db/backends/oracle/base.py:class VariableWrapper

1. from django.db import connection
2. ora_c = connection.cursor()
3. bar = 'asdf'
4. foo = ora_c.var(cx_Oracle.NUMBER)
5. ora_c.callproc(""MY_PKG.MY_SP"",[bar, foo])

Gives me an error:

Request Method: 	POST
Request URL: 	http://.....
Django Version: 	1.3
Exception Type: 	NotSupportedError
Exception Value: 	Variable_TypeByValue(): unhandled data type VariableWrapper

So it appears that this is a backward-incompatible change in the upgrade from 1.1 (to 1.2) that is not documented?

The fix for this is to change line 4 to be:
foo = ora_c.var(cx_Oracle.NUMBER).var
"	Bug	closed	Database layer (models, ORM)	1.3	Normal	wontfix			Unreviewed	0	0	0	0	0	0
