560 Commits

Author SHA1 Message Date
Anthony Tuininga
3f701549c7 Correct variable references. 2016-02-05 19:37:51 -07:00
Anthony Tuininga
22cd6eafd8 Remove code for supporting Python versions earlier than 2.6. 2016-02-05 19:24:35 -07:00
Anthony Tuininga
3eeff96403 Added support for scrollable cursors. 2016-02-05 17:19:40 -07:00
Anthony Tuininga
150303d995 Fix documentation on cursor.execute(). 2016-02-05 12:25:21 -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
c52f1d3f78 Adjust sample so that it can be run without SYSDBA and from a remote client. 2016-02-04 13:35:46 -07:00
Anthony Tuininga
cefcf25d43 Added example for demonstrating the use of editioning. 2016-02-04 09:35:02 -07:00
Anthony Tuininga
bc9d1745ab Added support for editioning; documented the additional parameters to the
connection constructor that were missing; added missing versionadded directive
to the module documentation.
2016-02-03 21:17:18 -07:00
Anthony Tuininga
a3947fb244 Added support for binding native integers which has a slight performance
advantage.
2016-02-03 19:20:12 -07:00
Anthony Tuininga
573da4fc21 Logical transaction id is only available in 12.1. 2016-02-03 10:23:07 -07:00
Anthony Tuininga
6fc79ec48d Update the documentation on implicit results based on feedback. 2016-02-02 07:59:50 -07:00
Anthony Tuininga
6b5b9887f8 Eliminated potential memory leak. 2016-01-27 15:04:37 -07:00
Anthony Tuininga
2da756e0cc Added support for setting the max lifetime session of pool connections, a
feature added to Oracle Database in 12.1.
2016-01-26 14:32:59 -07:00
Anthony Tuininga
84cd718977 Added support for Transaction Guard by including the attributes
connection.ltxid and error.isrecoverable as well as a sample that indicates
how it could be used.
2016-01-26 14:19:45 -07:00
Anthony Tuininga
ad6b97dfda Update samples to use syntax that works on both Python 2 and 3. 2016-01-25 13:32:52 -07:00
Anthony Tuininga
eb2d08837d Update documentation to indicate why nextset() is not implemented. 2016-01-25 08:38:56 -07:00
Anthony Tuininga
ead5831ccb Added test case for the new feature getimplicitresults(). 2016-01-22 11:48:46 -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
f745c1eb08 Added note indicating that BOOLEAN was added in 5.2.1. 2016-01-21 17:27:28 -07:00
Anthony Tuininga
54eaacca1b Bump copyright into 2016. 2016-01-21 17:16:25 -07:00
Anthony Tuininga
e24fa35d93 Added support for getting implicit results (available in Oracle 12.1). 2016-01-21 17:11:57 -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
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