Anthony Tuininga
f7b7785e82
Reworked type management to clarify and simplify code (see release notes for
...
details).
2020-02-10 10:02:03 -07:00
Anthony Tuininga
4ed95aad94
Reworked test suite to eliminate the use of default passwords and to make the
...
individual test modules directly runnable (instead of using execfile() within
test.py).
2019-01-31 10:18:04 -07:00
Anthony Tuininga
ba0d41412f
Added test cases for inserting and fetching XMLType objects as strings.
2019-01-22 14:28:25 -07:00
Anthony Tuininga
ef036cbefc
Ensure that all references to TestTempTable use the column names instead of
...
assuming the number of columns (in preparation for adding additional nullable
columns for other tests).
2018-12-03 10:19:22 -07:00
Anthony Tuininga
bc69e784f8
Adjust copyright notices to match requirements of Oracle Legal.
2018-09-10 11:39:51 -06:00
Anthony Tuininga
46e3aff3fa
Ensure that the number of elements in the array is not lost when the buffer
...
size is increased to accommodate larger strings.
2018-02-16 16:23:09 -07:00
Anthony Tuininga
ef60884570
Additional test cases to improve code coverage.
2018-01-11 16:24:08 -07:00
Anthony Tuininga
ef201bde74
Added additional LOB function tests; skip supplemental characters test if
...
database character set is not AL32UTF8.
2017-10-13 19:13:42 -06:00
Anthony Tuininga
1f917aafbb
In certain cases where non-long values follow LOB values in the list of bind
...
variables, the error "ORA-24816: Expanded non LONG bind data supplied after
actual LONG or LOB column" is raised; this occurs if the length of the supplied
value, when expanded, might exceed 4000 bytes
(https://github.com/oracle/python-cx_Oracle/issues/50 ).
2017-07-25 12:16:54 -06:00
Anthony Tuininga
852aed3b58
Ensure that the array position passed to var.getvalue() does not exceed the
...
number of elements allocated in the array!
2017-07-21 15:36:31 -06:00
Anthony Tuininga
fa4faa2718
Update ODPI-C which has added an optimization to reduce buffer size when both
...
the client and server character sets are identical and corrected support for
BFILE LOBs.
2017-06-16 16:43:41 -06:00
Anthony Tuininga
3bc9bd2303
Added sample and test case to demonstrate use of universal rowids.
2017-04-11 16:12:06 -06:00
Anthony Tuininga
d37669fbdc
Create a new variable, rather than call dpiVar_resize(), so that the variable
...
will be bound properly when the variable needs to be resized.
2017-04-11 14:36:47 -06:00
Anthony Tuininga
b614a47ef2
Added copyright notices to the top of all tests and samples as requested.
2017-03-09 10:21:22 -07:00
Anthony Tuininga
0bcbd072a8
Use None instead of 0 for items in the cursor.description attribute that do not
...
have any validity.
2017-01-25 15:17:20 -07:00
Anthony Tuininga
7bf8ae65ca
Correct execution of test suite on Windows which doesn't support UTF-8 by
...
default.
2017-01-16 15:20:14 -07:00
Anthony Tuininga
8fda704186
Adjusted test cases to make use of encoding and nencoding parameters to both
...
standalone connection and session pool creation; added test cases for binding
and fetching supplemental characters as well as fetching temporary LOBs; tidied
up a few test cases as well.
2017-01-13 18:14:45 -07:00
Anthony Tuininga
8584a5d5f8
Simplify test suite by combining Python 2 and 3 scripts into one script that
...
runs on both without changes; rename ArrayDMLBatchError to Features12_1 in
preparation for adding additional 12.1 features.
2016-01-22 11:18:31 -07:00
Anthony Tuininga
2ba419ebd6
Updated test cases to use the correct names for the various assertions instead
...
of the deprecated names.
2016-01-21 09:59:03 -07:00
Anthony Tuininga
faadbe4730
Remove code specific to strings being 4000 characters now that Oracle 12c has
...
the ability to have strings up to 32k characters. This implies that using
setinputsizes() is necessary if a long string type is desired as this will not
occur automatically when the string exceeds 4000 characters. Tests are tidied
up to remove the "p_" prefix from all bind variables.
2014-09-04 22:33:08 -06: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
104e11b67a
Last public release from Computronix.
2007-06-13 21:15:16 +00:00