Commit Graph

  • d57a33d544 Update names of objects to be more consistent. Anthony Tuininga 2016-02-08 10:08:02 -07:00
  • 3f701549c7 Correct variable references. Anthony Tuininga 2016-02-05 19:37:51 -07:00
  • 22cd6eafd8 Remove code for supporting Python versions earlier than 2.6. Anthony Tuininga 2016-02-05 19:24:35 -07:00
  • 3eeff96403 Added support for scrollable cursors. Anthony Tuininga 2016-02-05 17:19:40 -07:00
  • 150303d995 Fix documentation on cursor.execute(). Anthony Tuininga 2016-02-05 12:25:21 -07:00
  • 812ad4bd25 Added 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
  • c52f1d3f78 Adjust sample so that it can be run without SYSDBA and from a remote client. Anthony Tuininga 2016-02-04 13:35:46 -07:00
  • cefcf25d43 Added example for demonstrating the use of editioning. Anthony Tuininga 2016-02-04 09:35:02 -07:00
  • bc9d1745ab Added 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
  • a3947fb244 Added support for binding native integers which has a slight performance advantage. Anthony Tuininga 2016-02-03 19:20:12 -07:00
  • 573da4fc21 Logical transaction id is only available in 12.1. Anthony Tuininga 2016-02-03 10:23:07 -07:00
  • 6fc79ec48d Update the documentation on implicit results based on feedback. Anthony Tuininga 2016-02-02 07:59:50 -07:00
  • 6b5b9887f8 Eliminated potential memory leak. Anthony Tuininga 2016-01-27 15:04:37 -07:00
  • 2da756e0cc Added 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
  • 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. Anthony Tuininga 2016-01-26 14:19:45 -07:00
  • ad6b97dfda Update samples to use syntax that works on both Python 2 and 3. Anthony Tuininga 2016-01-25 13:32:52 -07:00
  • eb2d08837d Update documentation to indicate why nextset() is not implemented. Anthony Tuininga 2016-01-25 08:38:56 -07:00
  • ead5831ccb Added test case for the new feature getimplicitresults(). Anthony Tuininga 2016-01-22 11:48:46 -07:00
  • 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. Anthony Tuininga 2016-01-22 11:18:31 -07:00
  • f745c1eb08 Added note indicating that BOOLEAN was added in 5.2.1. Anthony Tuininga 2016-01-21 17:27:28 -07:00
  • 54eaacca1b Bump copyright into 2016. Anthony Tuininga 2016-01-21 17:16:25 -07:00
  • e24fa35d93 Added support for getting implicit results (available in Oracle 12.1). Anthony Tuininga 2016-01-21 17:11:57 -07:00
  • 2ba419ebd6 Updated 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
  • 0e35397616 Added test case for pickling/unpickling error objects. Anthony Tuininga 2016-01-21 09:43:00 -07:00
  • 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) Anthony Tuininga 2016-01-20 16:39:25 -07:00
  • c3fc04e74c Change driver name to match informal driver standard used by Oracle for other drivers. Anthony Tuininga 2016-01-20 11:50:29 -07:00
  • 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. Anthony Tuininga 2016-01-20 10:34:13 -07:00
  • 7c665dad68 Added tag 5.2.1 for changeset 76da8847ab83 Anthony Tuininga 2016-01-18 22:25:30 -07:00
  • 804ee75b0e Preparing to release 5.2.1. Anthony Tuininga 2016-01-18 21:21:49 -07:00
  • 39e078eaf8 Display 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
  • 8c1e6f68e4 Added 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
  • 2398ed617d Prepare for release of 5.2.1. Anthony Tuininga 2016-01-13 11:33:56 -07:00
  • 31013767c6 Eliminate compiler warning. Anthony Tuininga 2016-01-13 11:33:07 -07:00
  • f94e9e9f33 Updated documentation to account for the new externalauth argument. Anthony Tuininga 2016-01-02 21:57:33 -07:00
  • 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. Anthony Tuininga 2015-08-28 11:05:17 -06:00
  • c9bd6ebf90 Added 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
  • 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. Anthony Tuininga 2015-07-31 14:31:13 -06:00
  • b7b1ab4812 Added tag 5.2 for changeset b0fcec2716e2 Anthony Tuininga 2015-06-16 19:39:55 -06:00
  • d2794d76fc Fix issue with LOB length handling. Anthony Tuininga 2015-06-15 07:18:49 -06:00
  • 4207775655 Update documentation to indicate that DDL statements are executed when parsed. Anthony Tuininga 2015-06-06 21:40:12 -06:00
  • 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. Anthony Tuininga 2015-06-06 21:31:53 -06:00
  • 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). Anthony Tuininga 2015-06-06 21:01:37 -06:00
  • f62fc77da4 Ignore 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
  • 475a60e1fe Added note to indicate inclusion of pull request #15. Anthony Tuininga 2015-05-02 08:43:13 -06:00
  • 0d3c51ffab Issue #14 Added __version__ attribute David Donovan Riddle 2015-04-27 11:43:07 -05:00
  • c388eed0f3 Remove remaining references to ORACLE_11G and use the ORACLE_VERSION_HEX method exclusively. Anthony Tuininga 2015-04-25 20:35:23 -06:00
  • af5fb55759 Remove #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
  • 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! Anthony Tuininga 2015-04-25 19:31:03 -06:00
  • 98886fe3bc Correct execution of tests with Oracle 11g client. Anthony Tuininga 2015-04-03 22:50:31 -06:00
  • 661fddb046 Remove 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
  • 59a79634b2 Remove conditional code now that Oracle 10g is the minimum version supported. Anthony Tuininga 2015-04-03 22:09:55 -06:00
  • 5171a937a8 Re-enable support for Python 2.4 (used on RHEL/CentOS 5). Anthony Tuininga 2015-04-03 22:08:59 -06:00
  • 15e7e7976b Correct grammar. Anthony Tuininga 2015-03-21 21:57:42 -06:00
  • 96028a455a Added support for LOBs greater than 4 GB in length. Anthony Tuininga 2015-03-13 21:30:28 -06:00
  • 287fdf1fcd Fix reference. Anthony Tuininga 2015-03-11 21:45:27 -06:00
  • e670b17e96 Added documentation for the new array DML and batch errors features. Anthony Tuininga 2015-03-11 21:42:09 -06:00
  • a0ef59cd6c Add reference to issue #7. Anthony Tuininga 2015-03-11 20:58:45 -06:00
  • ee62183b78 In 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
  • 552b7a30b0 Tidy 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
  • 7cb69c1779 Fix typo. Anthony Tuininga 2015-03-11 20:24:26 -06:00
  • dc0088c518 The next release will be named 5.2. Anthony Tuininga 2015-03-11 20:21:27 -06:00
  • f749e02fb4 Added 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
  • 411e7cebfb Added initial cut of release notes based on what has already been committed. Anthony Tuininga 2015-03-10 21:16:08 -06:00
  • 709d43b642 Added tests for Array DML and Batch Error features. Anthony Tuininga 2015-02-25 22:46:11 -07:00
  • 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. Anthony Tuininga 2015-02-25 21:50:30 -07:00
  • c326ef1133 If NLS_LANG is not set, ensure it is set to a value that works. Anthony Tuininga 2015-02-25 21:29:50 -07:00
  • 2e78bc36b5 Display 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
  • 2e4f41448f Merged in shaib/cx_oracle/interval-frac-second-bug (pull request #13) Anthony Tuininga 2014-12-27 21:53:18 -07:00
  • 991ffd6266 Added 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
  • 2ea3b9d37a Made test suite Python3 compatible tchaumeny 2014-11-18 23:15:36 +01:00
  • fc1bc2ecda Need to use type ub4 instead of ub8 for determining number of batch errors. Anthony Tuininga 2014-09-30 20:53:49 -06:00
  • 633a3bcad5 Added support for retrieving batch errors. Anthony Tuininga 2014-09-24 22:22:13 -06:00
  • 8f6f54801c Added support for getting array DML row counts (new to Oracle 12c). Anthony Tuininga 2014-09-24 20:45:06 -06:00
  • 22251879ba Use the constant defined by Oracle rather than a hard coded amount. Anthony Tuininga 2014-09-22 18:37:40 -06:00
  • 8b0512510c Merged 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
  • 21baf7d0a6 Note that Connection.action can't be set to None. richardlev 2014-09-16 22:36:34 +00:00
  • 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. Anthony Tuininga 2014-09-04 22:33:08 -06:00
  • fdde7da7f5 Ensure that sessions are released to the pool when calling connection.close(); this resolves issue 2: https://bitbucket.org/anthony_tuininga/cx_oracle/issue/2/use-of-cclass-causes-connection-leaks Anthony Tuininga 2014-08-06 11:16:07 -06:00
  • b353be865a Booleans 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
  • 9f2feac224 Add SYSASM to doc Jakob Gurnhofer 2014-07-15 15:28:58 +02:00
  • 052448cc05 Add support for connections as SYSASM Jakob Gurnhofer 2014-07-14 15:31:47 +02:00
  • d255b7457f Expose 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
  • dda360b096 Added tag 5.1.3 for changeset 179b9747a27e Anthony Tuininga 2014-05-24 22:02:28 -06:00
  • 422b7e61bc Remove reference to text files which are no longer being distributed. Anthony Tuininga 2014-05-24 22:01:43 -06:00
  • 6c86da34ad Fix attribution as requested by Shai Berger. Anthony Tuininga 2014-05-20 18:09:00 -06:00
  • f3d4c3aa48 Bump copyright into 2014. Anthony Tuininga 2014-05-19 22:43:28 -06:00
  • fde2c64c88 Preparing to release 4.1.3. Anthony Tuininga 2014-05-19 22:31:09 -06:00
  • cb0f48e076 Remove references to documentation that has been moved to Read the Docs. Anthony Tuininga 2014-05-19 22:28:55 -06:00
  • 9515b93b35 Move documentation to Read the Docs instead of distributing directly. Anthony Tuininga 2014-05-19 22:26:58 -06:00
  • 4838055084 Ensure 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
  • 26d2b6a2a5 Eliminate warnings when building cx_Oracle due to unused but set variables. Anthony Tuininga 2014-05-16 22:19:53 -06:00
  • 6aa817956f OCI_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
  • b1d1a93a87 Remove 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
  • 1358f1833f Avoid spurious error. Anthony Tuininga 2014-05-13 13:33:15 -06:00
  • fd515c0bf5 MSVC does not like C99 TWAC 2014-05-09 14:44:06 +02:00
  • 3ca41fec71 Tidy up code a bit. Anthony Tuininga 2014-05-08 22:45:00 -06:00
  • 253466e55d Removed unintended change in file header comment shaib 2014-04-19 22:01:39 +00:00
  • 00569f774f Removed non-change Shai Berger 2014-04-14 03:31:47 +03:00
  • ebdf24d303 Make ints faster, take 2: Peek in OCINumber Shai Berger 2014-04-07 04:04:29 +03:00
  • 7e0515b0f4 Try reading potentially-long integers as ints before creating strings for performance Shai Berger 2014-04-02 16:09:07 +03:00