Anthony Tuininga
9fe01bd90b
Clear the object prior to fetching; otherwise, OCI will try to do something
...
with it and potentially crash the application!
2017-01-12 11:49:28 -07:00
Anthony Tuininga
4b4f2ceb18
Pass the type code associated with the object type, as it might be something
...
other than OCI_TYPECODE_OBJECT.
2016-02-22 09:53:35 -07:00
Anthony Tuininga
e9d5a70e25
Added preliminary support for binding collections (both SQL typed and PL/SQL
...
typed in Oracle 12.1).
2016-02-15 18:57:17 -07:00
Anthony Tuininga
39805c66d7
Added support for binding objects with sub objects attached to them; ensured
...
that instances are created when an empty object variable is created; enhanced
test cases for binding objects.
2016-02-11 11:47:46 -07:00
Anthony Tuininga
cb3f833a63
Added support for binding objects and setting attributes on objects of numbers,
...
strings and dates.
2016-02-09 14:51:30 -07:00
Anthony Tuininga
371717623b
Renamed ExternalObjectVar to Object since it will be independent of variables;
...
removed limitation for retrieving the object from the variable only once.
2016-02-08 12:16:28 -07:00
Anthony Tuininga
d57a33d544
Update names of objects to be more consistent.
2016-02-08 10:08:02 -07:00
Anthony Tuininga
812ad4bd25
Added support for large row counts (larger than 2 ** 32) and laid the
...
groundwork for adding support for scrollable cursors.
2016-02-05 09:34:00 -07:00
Anthony Tuininga
9be85a356c
Free temporary LOBs prior to each fetch in order to avoid leaking them; thanks
...
to Uwe Hoffmann for the initial patch.
2011-01-04 05:55:54 +00:00
Anthony Tuininga
b1b4c403fb
Added support for creating an object variable via a named type -- the first
...
step on the road to adding full object support.
2010-07-31 05:32:30 +00:00
Anthony Tuininga
c6603b324d
Add new attributes size, bufferSize and numElements to variable objects,
...
deprecating allocelems (replaced by numElements) and maxlength (replaced by
bufferSize); avoid increasing memory allocation for strings when using variable
width character sets and increasing the number of elements in a variable during
executemany(). Thanks to Don Reid for pointing out this issue.
2009-01-06 20:58:34 +00:00
Anthony Tuininga
515bca0f96
All test cases now run correctly in Unicode mode. There are still additional
...
things that need to be dealt with but the majority of the code has now been
transformed to use either Unicode or encoded strings with Oracle.
2008-10-15 22:45:29 +00:00
Anthony Tuininga
8e506ceeea
Make a base type for all variables so that the attributes and methods are
...
shared without having to specify such; remove references to methods that get
the attributes and methods dynamically since these are deprecated in Python 2.6
and above. Thanks to Amaury Forgeot d'Arc for the initial patch.
2008-10-02 19:00:06 +00:00
Anthony Tuininga
6c13ccbe5f
Use macro PyVarObject_HEAD_INIT as suggested by Amaury Forgeot d'Arc in order
...
to facilitate migration to Python 3.0.
2008-10-02 17:34:16 +00:00
Anthony Tuininga
5025b4eb22
Replaced all tabs with spaces.
2007-06-27 14:00:34 +00:00
Anthony Tuininga
104e11b67a
Last public release from Computronix.
2007-06-13 21:15:16 +00:00