438 Commits

Author SHA1 Message Date
Anthony Tuininga
0e35397616 Added test case for pickling/unpickling error objects. 2016-01-21 09:43:00 -07:00
Anthony Tuininga
c863777917 Added support for pickling/unpickling error objects; this addresses issue 23
(https://bitbucket.org/anthony_tuininga/cx_oracle/issues/23/cx_oracle_error-is-not-un-picklable)
2016-01-20 16:39:25 -07:00
Anthony Tuininga
c3fc04e74c Change driver name to match informal driver standard used by Oracle for other
drivers.
2016-01-20 11:50:29 -07:00
Anthony Tuininga
4add8b192e Added support for setting the instant client version that should be used when
multiple instant clients are installed -- by setting the environment variable
IC_VERSION.
2016-01-20 10:34:13 -07:00
Anthony Tuininga
7c665dad68 Added tag 5.2.1 for changeset 76da8847ab83 2016-01-18 22:25:30 -07:00
Anthony Tuininga
804ee75b0e Preparing to release 5.2.1. 2016-01-18 21:21:49 -07:00
Anthony Tuininga
39e078eaf8 Display the file that is being used for the test run (useful when multiple
environments are being used).
2016-01-18 21:00:19 -07:00
Anthony Tuininga
8c1e6f68e4 Added support for binding boolean values to PL/SQL booleans -- a feature that
is only available in Oracle 12.1 and higher.
2016-01-14 21:41:36 -07:00
Anthony Tuininga
2398ed617d Prepare for release of 5.2.1. 2016-01-13 11:33:56 -07:00
Anthony Tuininga
31013767c6 Eliminate compiler warning. 2016-01-13 11:33:07 -07:00
Anthony Tuininga
f94e9e9f33 Updated documentation to account for the new externalauth argument. 2016-01-02 21:57:33 -07:00
Anthony Tuininga
b05d71b386 Use the national character set encoding if setting a value with the national
character set needing to be used; otherwise, the wrong encoding could be used
if the environment variable NLS_NCHAR is set.
2015-08-28 11:05:17 -06:00
Anthony Tuininga
c9bd6ebf90 Added optional parameter externalauth to SessionPool() which enables wallet
based or other external authentication mechanisms to be used.
2015-08-15 21:11:00 -06:00
Anthony Tuininga
168d61670e Removed password attribute from connection and session pool objects in order
to promote best security practices (if stored in RAM in cleartext it can be
read in process dumps, for example). For those who would like to retain this
feature, a subclass of Connection could be used to store the password.
2015-07-31 14:31:13 -06:00
Anthony Tuininga
b7b1ab4812 Added tag 5.2 for changeset b0fcec2716e2 2015-06-16 19:39:55 -06:00
Anthony Tuininga
d2794d76fc Fix issue with LOB length handling. 2015-06-15 07:18:49 -06:00
Anthony Tuininga
4207775655 Update documentation to indicate that DDL statements are executed when parsed. 2015-06-06 21:40:12 -06:00
Anthony Tuininga
134f4b4987 No need to check the type since a Unicode object is perfectly acceptable in
Python 2 and the cxBuffer_FromObject() method checks the type anyway.
2015-06-06 21:31:53 -06:00
Anthony Tuininga
3c36e8cde3 Added support for NCHAR, FIXED_NCHAR and LONG_NCHAR, which are the same as the
types UNICODE, FIXED_UNICODE and LONG_UNICODE (now deprecated).
2015-06-06 21:01:37 -06:00
Anthony Tuininga
f62fc77da4 Ignore the entire HTML directory which is only used for testing documentation
changes now (the actual documentation is on Read the Docs).
2015-06-06 17:10:19 -06:00
Anthony Tuininga
475a60e1fe Added note to indicate inclusion of pull request #15. 2015-05-02 08:43:13 -06:00
David Donovan Riddle
0d3c51ffab Issue #14 Added __version__ attribute
__version__ attribute added to conform with PEP 396.
2015-04-27 11:43:07 -05:00
Anthony Tuininga
c388eed0f3 Remove remaining references to ORACLE_11G and use the ORACLE_VERSION_HEX
method exclusively.
2015-04-25 20:35:23 -06:00
Anthony Tuininga
af5fb55759 Remove #ifdef surrounding OCI_EVENTS since it was defined in Oracle 10g, the
minimum release supported by cx_Oracle.
2015-04-25 19:38:28 -06:00
Anthony Tuininga
3d160bf54a Remove conditional statements looking for SQLT_BFLOAT since that was
introduced in 10g Release 1 and cx_Oracle does not support anything earlier
than that anyway!
2015-04-25 19:31:03 -06:00
Anthony Tuininga
98886fe3bc Correct execution of tests with Oracle 11g client. 2015-04-03 22:50:31 -06:00
Anthony Tuininga
661fddb046 Remove remaining remnants of support for Oracle 9i (and notes in documentation
at the same time).
2015-04-03 22:14:04 -06:00
Anthony Tuininga
59a79634b2 Remove conditional code now that Oracle 10g is the minimum version supported. 2015-04-03 22:09:55 -06:00
Anthony Tuininga
5171a937a8 Re-enable support for Python 2.4 (used on RHEL/CentOS 5). 2015-04-03 22:08:59 -06:00
Anthony Tuininga
15e7e7976b Correct grammar. 2015-03-21 21:57:42 -06:00
Anthony Tuininga
96028a455a Added support for LOBs greater than 4 GB in length. 2015-03-13 21:30:28 -06:00
Anthony Tuininga
287fdf1fcd Fix reference. 2015-03-11 21:45:27 -06:00
Anthony Tuininga
e670b17e96 Added documentation for the new array DML and batch errors features. 2015-03-11 21:42:09 -06:00
Anthony Tuininga
a0ef59cd6c Add reference to issue #7. 2015-03-11 20:58:45 -06:00
Anthony Tuininga
ee62183b78 In 5.2 these attributes are exposed in Python 3.x as well as Python 2.x. 2015-03-11 20:49:59 -06:00
Anthony Tuininga
552b7a30b0 Tidy up the README.txt and BUILD.txt (remove some old notes which are no longer
true).
2015-03-11 20:40:26 -06:00
Anthony Tuininga
7cb69c1779 Fix typo. 2015-03-11 20:24:26 -06:00
Anthony Tuininga
dc0088c518 The next release will be named 5.2. 2015-03-11 20:21:27 -06:00
Anthony Tuininga
f749e02fb4 Added support for building without any configuration changes to the machine
when using instant client RPMs on Linux.
2015-03-11 19:54:04 -06:00
Anthony Tuininga
411e7cebfb Added initial cut of release notes based on what has already been committed. 2015-03-10 21:16:08 -06:00
Anthony Tuininga
709d43b642 Added tests for Array DML and Batch Error features. 2015-02-25 22:46:11 -07:00
Anthony Tuininga
85b6adeb6b Reorganize the code for handling errors so that the same code can be used for
managing batch errors as well as raising exceptions in the ordinary case.
2015-02-25 21:50:30 -07:00
Anthony Tuininga
c326ef1133 If NLS_LANG is not set, ensure it is set to a value that works. 2015-02-25 21:29:50 -07:00
Anthony Tuininga
2e78bc36b5 Display the build time when running tests in order to make clear what version
is actually being tested.
2015-02-25 21:28:34 -07:00
Anthony Tuininga
2e4f41448f Merged in shaib/cx_oracle/interval-frac-second-bug (pull request #13)
Fixed issue #7 -- fractional seconds in intervals
2014-12-27 21:53:18 -07:00
Shai Berger
991ffd6266 Added a test to expose the problem with intervals, and a fix that makes it pass 2014-12-22 00:25:21 +02:00
tchaumeny
2ea3b9d37a Made test suite Python3 compatible 2014-11-18 23:15:36 +01:00
Anthony Tuininga
fc1bc2ecda Need to use type ub4 instead of ub8 for determining number of batch errors. 2014-09-30 20:53:49 -06:00
Anthony Tuininga
633a3bcad5 Added support for retrieving batch errors. 2014-09-24 22:22:13 -06:00
Anthony Tuininga
8f6f54801c Added support for getting array DML row counts (new to Oracle 12c). 2014-09-24 20:45:06 -06:00