d57a33d544Update names of objects to be more consistent.
Anthony Tuininga
2016-02-08 10:08:02 -07:00
3f701549c7Correct variable references.
Anthony Tuininga
2016-02-05 19:37:51 -07:00
22cd6eafd8Remove code for supporting Python versions earlier than 2.6.
Anthony Tuininga
2016-02-05 19:24:35 -07:00
3eeff96403Added support for scrollable cursors.
Anthony Tuininga
2016-02-05 17:19:40 -07:00
150303d995Fix documentation on cursor.execute().
Anthony Tuininga
2016-02-05 12:25:21 -07:00
812ad4bd25Added support for large row counts (larger than 2 ** 32) and laid the groundwork for adding support for scrollable cursors.
Anthony Tuininga
2016-02-05 09:34:00 -07:00
c52f1d3f78Adjust sample so that it can be run without SYSDBA and from a remote client.
Anthony Tuininga
2016-02-04 13:35:46 -07:00
cefcf25d43Added example for demonstrating the use of editioning.
Anthony Tuininga
2016-02-04 09:35:02 -07:00
bc9d1745abAdded support for editioning; documented the additional parameters to the connection constructor that were missing; added missing versionadded directive to the module documentation.
Anthony Tuininga
2016-02-03 21:17:18 -07:00
a3947fb244Added support for binding native integers which has a slight performance advantage.
Anthony Tuininga
2016-02-03 19:20:12 -07:00
573da4fc21Logical transaction id is only available in 12.1.
Anthony Tuininga
2016-02-03 10:23:07 -07:00
6fc79ec48dUpdate the documentation on implicit results based on feedback.
Anthony Tuininga
2016-02-02 07:59:50 -07:00
6b5b9887f8Eliminated potential memory leak.
Anthony Tuininga
2016-01-27 15:04:37 -07:00
2da756e0ccAdded support for setting the max lifetime session of pool connections, a feature added to Oracle Database in 12.1.
Anthony Tuininga
2016-01-26 14:32:59 -07:00
84cd718977Added 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.
Anthony Tuininga
2016-01-26 14:19:45 -07:00
ad6b97dfdaUpdate samples to use syntax that works on both Python 2 and 3.
Anthony Tuininga
2016-01-25 13:32:52 -07:00
eb2d08837dUpdate documentation to indicate why nextset() is not implemented.
Anthony Tuininga
2016-01-25 08:38:56 -07:00
ead5831ccbAdded test case for the new feature getimplicitresults().
Anthony Tuininga
2016-01-22 11:48:46 -07:00
8584a5d5f8Simplify 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.
Anthony Tuininga
2016-01-22 11:18:31 -07:00
f745c1eb08Added note indicating that BOOLEAN was added in 5.2.1.
Anthony Tuininga
2016-01-21 17:27:28 -07:00
54eaacca1bBump copyright into 2016.
Anthony Tuininga
2016-01-21 17:16:25 -07:00
e24fa35d93Added support for getting implicit results (available in Oracle 12.1).
Anthony Tuininga
2016-01-21 17:11:57 -07:00
2ba419ebd6Updated test cases to use the correct names for the various assertions instead of the deprecated names.
Anthony Tuininga
2016-01-21 09:59:03 -07:00
0e35397616Added test case for pickling/unpickling error objects.
Anthony Tuininga
2016-01-21 09:43:00 -07:00
c3fc04e74cChange driver name to match informal driver standard used by Oracle for other drivers.
Anthony Tuininga
2016-01-20 11:50:29 -07:00
4add8b192eAdded support for setting the instant client version that should be used when multiple instant clients are installed -- by setting the environment variable IC_VERSION.
Anthony Tuininga
2016-01-20 10:34:13 -07:00
7c665dad68Added tag 5.2.1 for changeset 76da8847ab83
Anthony Tuininga
2016-01-18 22:25:30 -07:00
804ee75b0ePreparing to release 5.2.1.
Anthony Tuininga
2016-01-18 21:21:49 -07:00
39e078eaf8Display the file that is being used for the test run (useful when multiple environments are being used).
Anthony Tuininga
2016-01-18 21:00:19 -07:00
8c1e6f68e4Added support for binding boolean values to PL/SQL booleans -- a feature that is only available in Oracle 12.1 and higher.
Anthony Tuininga
2016-01-14 21:41:36 -07:00
2398ed617dPrepare for release of 5.2.1.
Anthony Tuininga
2016-01-13 11:33:56 -07:00
31013767c6Eliminate compiler warning.
Anthony Tuininga
2016-01-13 11:33:07 -07:00
f94e9e9f33Updated documentation to account for the new externalauth argument.
Anthony Tuininga
2016-01-02 21:57:33 -07:00
b05d71b386Use 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.
Anthony Tuininga
2015-08-28 11:05:17 -06:00
c9bd6ebf90Added optional parameter externalauth to SessionPool() which enables wallet based or other external authentication mechanisms to be used.
Anthony Tuininga
2015-08-15 21:11:00 -06:00
168d61670eRemoved 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.
Anthony Tuininga
2015-07-31 14:31:13 -06:00
b7b1ab4812Added tag 5.2 for changeset b0fcec2716e2
Anthony Tuininga
2015-06-16 19:39:55 -06:00
d2794d76fcFix issue with LOB length handling.
Anthony Tuininga
2015-06-15 07:18:49 -06:00
4207775655Update documentation to indicate that DDL statements are executed when parsed.
Anthony Tuininga
2015-06-06 21:40:12 -06:00
134f4b4987No need to check the type since a Unicode object is perfectly acceptable in Python 2 and the cxBuffer_FromObject() method checks the type anyway.
Anthony Tuininga
2015-06-06 21:31:53 -06:00
3c36e8cde3Added support for NCHAR, FIXED_NCHAR and LONG_NCHAR, which are the same as the types UNICODE, FIXED_UNICODE and LONG_UNICODE (now deprecated).
Anthony Tuininga
2015-06-06 21:01:37 -06:00
f62fc77da4Ignore the entire HTML directory which is only used for testing documentation changes now (the actual documentation is on Read the Docs).
Anthony Tuininga
2015-06-06 17:10:19 -06:00
475a60e1feAdded note to indicate inclusion of pull request #15.
Anthony Tuininga
2015-05-02 08:43:13 -06:00
c388eed0f3Remove remaining references to ORACLE_11G and use the ORACLE_VERSION_HEX method exclusively.
Anthony Tuininga
2015-04-25 20:35:23 -06:00
af5fb55759Remove #ifdef surrounding OCI_EVENTS since it was defined in Oracle 10g, the minimum release supported by cx_Oracle.
Anthony Tuininga
2015-04-25 19:38:28 -06:00
3d160bf54aRemove 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!
Anthony Tuininga
2015-04-25 19:31:03 -06:00
98886fe3bcCorrect execution of tests with Oracle 11g client.
Anthony Tuininga
2015-04-03 22:50:31 -06:00
661fddb046Remove remaining remnants of support for Oracle 9i (and notes in documentation at the same time).
Anthony Tuininga
2015-04-03 22:14:04 -06:00
59a79634b2Remove conditional code now that Oracle 10g is the minimum version supported.
Anthony Tuininga
2015-04-03 22:09:55 -06:00
5171a937a8Re-enable support for Python 2.4 (used on RHEL/CentOS 5).
Anthony Tuininga
2015-04-03 22:08:59 -06:00
15e7e7976bCorrect grammar.
Anthony Tuininga
2015-03-21 21:57:42 -06:00
96028a455aAdded support for LOBs greater than 4 GB in length.
Anthony Tuininga
2015-03-13 21:30:28 -06:00
287fdf1fcdFix reference.
Anthony Tuininga
2015-03-11 21:45:27 -06:00
e670b17e96Added documentation for the new array DML and batch errors features.
Anthony Tuininga
2015-03-11 21:42:09 -06:00
a0ef59cd6cAdd reference to issue #7.
Anthony Tuininga
2015-03-11 20:58:45 -06:00
ee62183b78In 5.2 these attributes are exposed in Python 3.x as well as Python 2.x.
Anthony Tuininga
2015-03-11 20:49:59 -06:00
552b7a30b0Tidy up the README.txt and BUILD.txt (remove some old notes which are no longer true).
Anthony Tuininga
2015-03-11 20:40:26 -06:00
7cb69c1779Fix typo.
Anthony Tuininga
2015-03-11 20:24:26 -06:00
dc0088c518The next release will be named 5.2.
Anthony Tuininga
2015-03-11 20:21:27 -06:00
f749e02fb4Added support for building without any configuration changes to the machine when using instant client RPMs on Linux.
Anthony Tuininga
2015-03-11 19:54:04 -06:00
411e7cebfbAdded initial cut of release notes based on what has already been committed.
Anthony Tuininga
2015-03-10 21:16:08 -06:00
709d43b642Added tests for Array DML and Batch Error features.
Anthony Tuininga
2015-02-25 22:46:11 -07:00
85b6adeb6bReorganize 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.
Anthony Tuininga
2015-02-25 21:50:30 -07:00
c326ef1133If NLS_LANG is not set, ensure it is set to a value that works.
Anthony Tuininga
2015-02-25 21:29:50 -07:00
2e78bc36b5Display the build time when running tests in order to make clear what version is actually being tested.
Anthony Tuininga
2015-02-25 21:28:34 -07:00
2e4f41448fMerged in shaib/cx_oracle/interval-frac-second-bug (pull request #13)
Anthony Tuininga
2014-12-27 21:53:18 -07:00
991ffd6266Added a test to expose the problem with intervals, and a fix that makes it pass
Shai Berger
2014-12-22 00:25:21 +02:00
2ea3b9d37aMade test suite Python3 compatible
tchaumeny
2014-11-18 23:15:36 +01:00
fc1bc2ecdaNeed to use type ub4 instead of ub8 for determining number of batch errors.
Anthony Tuininga
2014-09-30 20:53:49 -06:00
633a3bcad5Added support for retrieving batch errors.
Anthony Tuininga
2014-09-24 22:22:13 -06:00
8f6f54801cAdded support for getting array DML row counts (new to Oracle 12c).
Anthony Tuininga
2014-09-24 20:45:06 -06:00
22251879baUse the constant defined by Oracle rather than a hard coded amount.
Anthony Tuininga
2014-09-22 18:37:40 -06:00
8b0512510cMerged in richardlev/cx_oracle/richardlev/note-that-connectionaction-cant-be-set-t-1410906990372 (pull request #9)
Anthony Tuininga
2014-09-18 22:36:37 -06:00
21baf7d0a6Note that Connection.action can't be set to None.
richardlev
2014-09-16 22:36:34 +00:00
faadbe4730Remove 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.
Anthony Tuininga
2014-09-04 22:33:08 -06:00
b353be865aBooleans are subclassed to integer so ensure that the boolean is checked first; this wasn't a problem in Python 2.x but has become one in Python 3.x.
Anthony Tuininga
2014-08-05 15:50:05 -06:00
9f2feac224Add SYSASM to doc
Jakob Gurnhofer
2014-07-15 15:28:58 +02:00
052448cc05Add support for connections as SYSASM
Jakob Gurnhofer
2014-07-14 15:31:47 +02:00
d255b7457fExpose the UNICODE, FIXED_UNICODE and LONG_UNICODE types so that in Python 3 one can actually specify the use of the NCHAR type fields when binding or using setinputsizes().
Anthony Tuininga
2014-07-07 12:41:37 -06:00
dda360b096Added tag 5.1.3 for changeset 179b9747a27e
Anthony Tuininga
2014-05-24 22:02:28 -06:00
422b7e61bcRemove reference to text files which are no longer being distributed.
Anthony Tuininga
2014-05-24 22:01:43 -06:00
6c86da34adFix attribution as requested by Shai Berger.
Anthony Tuininga
2014-05-20 18:09:00 -06:00
f3d4c3aa48Bump copyright into 2014.
Anthony Tuininga
2014-05-19 22:43:28 -06:00
fde2c64c88Preparing to release 4.1.3.
Anthony Tuininga
2014-05-19 22:31:09 -06:00
cb0f48e076Remove references to documentation that has been moved to Read the Docs.
Anthony Tuininga
2014-05-19 22:28:55 -06:00
9515b93b35Move documentation to Read the Docs instead of distributing directly.
Anthony Tuininga
2014-05-19 22:26:58 -06:00
4838055084Ensure that in Python 3 NCHAR and NVARCHAR2 and NCLOB columns are retrieved properly without conversion issues. Thanks to Joakim Andersson for pointing out the issue and the possible solution.
Anthony Tuininga
2014-05-16 22:33:35 -06:00
26d2b6a2a5Eliminate warnings when building cx_Oracle due to unused but set variables.
Anthony Tuininga
2014-05-16 22:19:53 -06:00
6aa817956fOCI_ATTR_PARSE_ERROR_OFFSET should be of type ub2; also handle case when the exception has been normalized already (and with this change force the exception to be normalized) as in that case the cx_Oracle.Error object is not directly accessible as originally assumed (which caused a segfault to take place).
Anthony Tuininga
2014-05-13 15:09:34 -06:00
b1d1a93a87Remove proposed optimization FitsInLong() and instead tweak the logic that determines whether or not an integer conversion should be attempted.
Anthony Tuininga
2014-05-13 13:36:13 -06:00
1358f1833fAvoid spurious error.
Anthony Tuininga
2014-05-13 13:33:15 -06:00
fd515c0bf5MSVC does not like C99
TWAC
2014-05-09 14:44:06 +02:00
3ca41fec71Tidy up code a bit.
Anthony Tuininga
2014-05-08 22:45:00 -06:00