Anthony Tuininga
f587b341d3
ODPI-C debugging is now controlled at runtime by the environment variable
...
DPI_DEBUG_LEVEL, rather than at compile time.
2017-07-31 21:19:52 -06:00
Anthony Tuininga
456a001d73
Update ODPI-C.
2017-07-27 20:47:52 -06:00
Anthony Tuininga
54919a2d7c
RPM files are no longer able to be uploaded to PyPI.
2017-07-27 20:47:08 -06:00
Anthony Tuininga
4c4513f476
Improve documentation.
2017-07-27 20:46:21 -06:00
Anthony Tuininga
7edc0ddd83
New GitHub SUPPORT file.
2017-07-25 12:17:25 -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
af01c81a1b
Improve installation documentation.
6.0rc2
2017-07-24 10:36:33 -06:00
Anthony Tuininga
22dc8c1daa
Preparing to release cx_Oracle 6 rc 2.
2017-07-24 10:35:41 -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
1eba9d55be
Use dpiData_*() functions to simplify setting data; correct handling of
...
timestamp with time zone attributes.
2017-07-21 15:35:49 -06:00
Anthony Tuininga
df102db935
Correct handling of CLOB/NCLOB when using different encodings.
2017-07-21 15:34:48 -06:00
Anthony Tuininga
d7f3854556
Update ODPI-C to v2.0.0-rc.2.
2017-07-21 15:33:27 -06:00
Anthony Tuininga
f3451b0726
Initial draft of installation guide.
2017-07-21 15:17:51 -06:00
Anthony Tuininga
8cc4d8607f
Remove unnecessary Unicode specific tests for Python 2.7 since Python 3 now
...
also supports the "u" prefix; merge them instead into the main tests.
2017-07-21 15:16:24 -06:00
Anthony Tuininga
3243261f52
Added samples that were originally created for Open World 2016.
2017-07-14 17:18:57 -06:00
Anthony Tuininga
340dcb7195
Rework test suite and samples so that they are independent of each other and
...
so that the SQL scripts used to create/drop schemas are easily adjusted to
use different schema names, if desired. Improve documentation for test suite
and samples.
2017-07-14 16:50:41 -06:00
Anthony Tuininga
628d1717f5
Corrected support for binding boolean values with Oracle client 11.2.
2017-07-14 11:31:59 -06:00
Anthony Tuininga
c1005ddcac
Added test cases for AQ enqueue/dequeue options and message properties
...
(https://github.com/oracle/odpi/issues/16 ).
2017-07-13 13:57:29 -06:00
Anthony Tuininga
db8285055e
Update ODPI-C.
2017-07-12 10:35:10 -07:00
Anthony Tuininga
1d768706ab
Python 2.7 requires the "u" prefix.
2017-07-08 21:23:27 -06:00
Anthony Tuininga
21213a89ca
Update ODPI-C (eliminate memory leak when multiple threads share the same
...
standalone connection or session pool).
2017-07-08 21:22:14 -06:00
Anthony Tuininga
49b0afd7a5
Ensure the correct encoding is used for setting variable values.
2017-07-07 07:38:44 -07:00
Anthony Tuininga
18e06bf14a
Corrected support for binding decimal values in object attribute values and
...
collection element values.
2017-07-07 07:38:15 -07:00
Anthony Tuininga
2e9c412d41
On Windows, convert system message to Unicode first, then to UTF-8; otherwise,
...
the error message returned could be in a mix of encodings
(https://github.com/oracle/python-cx_Oracle/issues/40 ).
2017-07-05 16:07:55 -06:00
Anthony Tuininga
c9d610396a
Provide error message when OCI environment cannot be created but at least the
...
handle has been created, such as when the oraaccess.xml file cannot be
processed properly.
2017-07-05 13:22:11 -06:00
Anthony Tuininga
888fd89fce
Update DB API test stub to match latest version of test suite and cx_Oracle.
2017-07-05 13:19:07 -06:00
Anthony Tuininga
4a1641e9c4
Define exception classes on the connection object to simplify error handling in
...
multi-connection environments, as specified in the Python DB API.
2017-07-05 13:18:29 -06:00
Anthony Tuininga
f555a10f36
Add support for Python 3 in DB API test suite stub.
2017-07-05 13:17:50 -06:00
Anthony Tuininga
ae45152339
Preparing to release cx_Oracle 6 rc 1.
6.0rc1
2017-06-16 16:50:22 -06:00
Anthony Tuininga
398743569f
Improve documentation regarding encodings.
2017-06-16 16:49:00 -06:00
Anthony Tuininga
d008553dc1
Add script for dropping the test schemas; add copyright and information on how
...
to execute to the SetupTest.sql script.
2017-06-16 16:48:15 -06:00
Anthony Tuininga
b543850f9a
The method cursor.setoutputsize() no longer needs to do anything (since ODPI-C
...
automatically manages buffer sizes of LONG and LONG RAW columns).
2017-06-16 16:47:21 -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
1c3c33ac9d
Add note that wheels can now be produced and installed via pip.
2017-06-16 16:41:41 -06:00
Anthony Tuininga
c231716839
Add question regarding the version of the Oracle database.
2017-06-13 11:57:46 -07:00
Anthony Tuininga
a221f774d3
Miscellaneous documentation improvements.
2017-06-13 11:56:57 -07:00
Anthony Tuininga
465da44482
Permit use of both string and unicode for Python 2.7 for creating session pools
...
and for changing passwords
(https://github.com/oracle/python-cx_Oracle/issues/23 ).
2017-06-10 13:54:10 -06:00
Anthony Tuininga
f4009ebabd
Add tests for specifying only the encoding or only the nencoding.
2017-06-10 11:32:25 -06:00
Anthony Tuininga
2f76f33f20
OCI requires that both encoding and nencoding have values or that both encoding
...
and encoding do not have values. Look up missing value, if neeeded, in order to
avoid the error when creating the OCI environment
(https://github.com/oracle/python-cx_Oracle/issues/36 ).
2017-06-10 11:25:21 -06:00
Anthony Tuininga
e783a33926
Handle case when both precision and scale are zero, as occurs when retrieving
...
numeric expressions (https://github.com/oracle/python-cx_Oracle/issues/34 ).
2017-06-09 14:21:24 -06:00
Anthony Tuininga
6ebb88bbd1
Preparing to release cx_Oracle 6.0b2.
6.0b2
2017-05-24 12:02:42 -06:00
Anthony Tuininga
d85e90a468
Add note that SQL and PL/SQL statements are handled differently when binding by
...
position and that binding by name is generally recommended.
2017-05-24 12:00:31 -06:00
Anthony Tuininga
18145b8e48
Add feature list and make other improvements to README.
2017-05-24 11:58:56 -06:00
Anthony Tuininga
52e1960bfb
Correct determination of the names of the bind variables in prepared SQL
...
tatements (which behaves a little differently from PL/SQL statements).
2017-05-19 21:47:46 -06:00
Anthony Tuininga
14a1d2d0c9
Added support for setting the debug level in ODPI-C, if desirable, by setting
...
an environment variable prior to building cx_Oracle.
2017-05-19 21:26:07 -06:00
Anthony Tuininga
999913be35
Ensure reference count of parameters remains the same after call completes!
2017-05-16 14:29:33 -06:00
Anthony Tuininga
2e240bc154
Prevent attempts from binding the cursor being executed to itself.
2017-05-16 13:23:20 -06:00
Anthony Tuininga
ef1fc44f32
Set the fetch array size on a REF cursor prior to it being used by Python.
2017-05-15 13:19:43 -06:00
Anthony Tuininga
1741d3fddb
Correct resource leak.
2017-05-15 13:18:23 -06:00
Anthony Tuininga
5e04a04baa
Check for an error while creating the error!
2017-05-15 13:14:37 -06:00